Docker Notes basic docker images

Posted on Jan. 6, 2020
docker
889

docker image ls

docker pull nginx

docker pull nginx:1.11

docker pull nginx:1.11.9-alpine

 

docker history nginx

docker image inspect nginx

 

image tagging

docker image tag --help

<user>/<repository>:<tag>

docker image tag nginx kishoren/nginx
docker login
docker image push kishoren/nginx

 

docker building images

have to write Dockerfile

docker image build -t myimage .

docker image tag myimage kishoren/myimage

docker push kishoren/myimage




0 comments

Please log in to leave a comment.