current location:Home > Technical Articles > Operation and Maintenance > Docker
- Direction:
- All Web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- What is the use of docker data volume?
- The uses of docker data volumes: 1. Data can be shared between multiple containers. 2. Avoid that the host machine cannot guarantee that a certain directory or some fixed file paths must exist. 3. Container data can be backed up, restored or migrated between different hosts.
- Docker 2566 2020-03-24 17:10:19
-
- How to do domain name resolution in docker
- Domain name resolution in docker: After entering the Docker container, open the hosts file, add domain name resolution rules, or directly append a string to the end of the specified file.
- Docker 6930 2020-03-24 16:39:49
-
- How to access between containers in docker
- Methods for accessing between containers in docker: 1. Access based on the IP addresses between containers. 2. Add the link parameter when running the container, and then access it through the link. 3. Create a bridge network, connect the container to the bridge network, and then you can connect.
- Docker 5047 2020-03-24 16:09:35
-
- How to solve the problem that docker Chinese is not displayed
- Docker Chinese is not displayed because the Chinese language package is missing in the docker container environment. The solution: Use the yum -y install kde-l10n-Chinese command to install the Chinese language package, and then set and use this language package.
- Docker 3572 2020-03-24 15:58:26
-
- How docker packages containers into images
- The way docker packages containers into images is through the [docker commit] command, such as [docker commit -a "runoob.com" -m "my apache" a404c6c174a2 mymysql:v1].
- Docker 14628 2020-03-24 15:38:06
-
- How docker obtains container root permissions
- The method for docker to obtain root permissions of a container is: 1. Execute the [docker ps] command to view the [CONTAINER ID] of the container; 2. Execute the command [docker exec -ti -u root 2209371edd48 bash] to obtain root permissions.
- Docker 3801 2020-03-24 15:25:28
-
- How docker starts image
- The method for docker to start the image is: 1. Execute the command [pip install docker-compose] to install the plug-in; 2. Execute the command [docker-compose up] to start the image.
- Docker 6262 2020-03-24 15:18:13
-
- What should I do if docker cannot be accessed by the outside world?
- The solution to the problem that docker cannot be accessed by the outside world is: 1. Restart iptables; 2. Execute the command [iptables -t nat -A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE] to add rules.
- Docker 2233 2020-03-24 14:40:59
-
- What should I do if docker cannot delete the container?
- The solution to the problem that docker cannot delete the container is: 1. First, execute the umount command to cancel the mounting; 2. Then, execute the command [docker kill --signal=SIGINT caf8ef20f3c1] to delete the container service.
- Docker 4241 2020-03-24 14:25:36
-
- What are the advantages of docker
- Advantages of docker: 1. Fast, docker shares an operating system through kernel sharing, which improves the speed of starting and stopping docker containers; 2. Portability, as long as the docker container is still running, the application can be guaranteed to work normally run.
- Docker 3360 2020-03-24 14:09:20
-
- There are several states of docker containers
- Docker containers are roughly divided into three states from generation to running deployment: 1. Dockerfile, a template file used to create an image image; 2. Image, an image file; 3. Container, a container.
- Docker 9967 2020-03-24 14:00:32
-
- How to check the created container ID in docker
- How to check the container ID with docker: 1. Use the docker ps -aqf "name=containername" command to check. 2. Use the docker inspect --format="{{.Id}}"container_name command to view.
- Docker 17211 2020-03-24 13:58:30
-
- How to check the specific version number in docker
- How to check the specific version number of docker: You can use the docker version command to check the specific version number. The docker version command is used to display Docker version information.
- Docker 5974 2020-03-24 13:52:31
-
- What should I do if the docker container port cannot be accessed?
- The solution to the problem that the docker container port cannot be accessed is: 1. Execute the command [docker stop $(docker ps -a -q)] to stop all containers; 2. Execute the command [docker rm $(docker ps -aq)] to delete all container.
- Docker 5437 2020-03-24 13:50:31
-
- What is the difference between docker and vmware
- The difference between docker and vmware is: vmware is a slave operating system created based on the host machine operating system. The docker daemon replaces the slave operating system in VMware. It is a background process running on the operating system and is used to manage docker. container.
- Docker 5652 2020-03-24 13:40:28