Tag: docker usage

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....

How to run Ubuntu system in docker

How to use docker to run the system? This article shares with you examples of searching image, starting image and building container, starting container, closing...