epoch1970 wrote: > How do you save changes made to the container then? If you commit it, > doesn't the image grow every time? It's not thin in the first place.
You don't need or want to keep making new images. Images are mainly just used for distribution. You make a container from an image, the top mutable layer filesystem of the container holds your modifications while you use the container. Running containers are managed by the docker daemon and survive shutdown/reboots, but you treat them as disposable, so you can easily recreate (docker run) from newer images, or so you can restart your application from a known clean state. To persist/share things between different containers you use additional filesystems: either docker volumes or bind mounts onto the host filesystem. (Hope that helps a bit -- lots more/better instructions and tutorials out there. The Docker documentation page explaining storage options may be helpful: https://docs.docker.com/storage/) ------------------------------------------------------------------------ justi's Profile: http://forums.slimdevices.com/member.php?userid=58046 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
