Tag: docker commands

How to mount volume in docker container

Docker run use -v bind mount a volume. You can also modify the docker hostconfig.json and config.v2.json configuration files to mount volumes to existing docker...

How to set docker container host name

When we start a new container, the default host name is the container’s id. This host name is not only easy to remember, but also...

How to rename the docker container name

In the previous article, we introduced how to rename the docker image name.  This article will show you how to rename the docker container. List...

How to rename the docker image name

Docker image rename, docker tag: Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE; docker rmi: remove the SOURCE_IMAGE image....

Docker common commands list with examples

Docker common commands: Image repository commands, Local image manage commands, Container manage commands, Container lifecycle manage commands ......