Now's a good time to 'save' our work. Run docker ps to list all your docker containers

you can 'save' this docker container to your account with

docker commit CONTAINER_ID USERNAME/mytensorflow

where the CONTAINER_ID is the 12 character that is to the left of the image name and USERNAME is your docker login name. So in my case, docker commit c2a0a7f0a7bb ladyada/mytensorflow

It will take a few minutes while Docker runs, eventually you'll get this on the terminal:

Then push it to docker hub with docker push username/containername

Then visit your dockerhub profile to see that you have in fact pushed the docker image

This guide was first published on Jul 17, 2019. It was last updated on Mar 08, 2024.

This page (Commit Docker) was last updated on Mar 08, 2024.

Text editor powered by tinymce.