/
Snapshot of docker container
Snapshot of docker container
Begin by creating a repository in the docker hub https://hub.docker.com/
Note
On the docker hub, the create repository option is misleading. I read this as create a space to hold multiple containers. This is not what it actually does, the command creates a space for a container and the docker hub path becomes name for the container when it is stored in the docker hub registry.
Commit a running container
docker commit <container id> <repository path as described in the note above>:tag
Perform a docker images, you will see a new image with the name of the docker repository path
Push the image to docker hub using
docker push <repository name>
, multiple selections available,
Related content
Using docker from windows shell or powershell
Using docker from windows shell or powershell
More like this
Docker stuff
Docker stuff
More like this
Installing Docker
Installing Docker
More like this
ECS to Docker Container Steps
ECS to Docker Container Steps
More like this
Tomcat (Docker)
Tomcat (Docker)
More like this
Deployments and Services
Deployments and Services
More like this