$ (sudo) docker pull teruo41/ubuntu-gnupg:libgcrypt-1.6.3
$ (sudo) docker run -it teruo41/ubuntu-gnupg:libgcrypt-1.6.3
Inside the docker:
# cd /root/src/libgcrypt-1.6.3
# === modify source code ===
# cd /root/build/libgcrypt-1.6.3
# make && make install
Outside the docker, check the name of the container.
$ (sudo) docker ps -a
Outside the docker, store the container as an image.
$ (sudo) docker commit ${container-name} ${new-image-name}
Content type
Image
Digest
Size
179.9 MB
Last updated
over 6 years ago
docker pull teruo41/ubuntu-gnupg:libgcrypt-1.6.3