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:
-
- How to remount a directory that is already running docker
- How to remount the directory with already running docker: 1. First stop the running docker container, and then remount the directory by modifying the configuration file. 2. Remount the directory by submitting the existing container as a new image.
- Docker 16403 2020-03-30 11:08:09
-
- How to copy images under docker
- How to copy images under docker: Execute "docker cp + container name: the path of the image to be copied in the container + the corresponding path to be copied to the host" in the host.
- Docker 3190 2020-03-30 10:30:42
-
- How to check whether the docker container is started or not?
- How to check whether the docker container is started: You can use the docker ps command to view all running docker containers. This command can list all running containers.
- Docker 7313 2020-03-30 10:06:39
-
- How to enter the docker container
- How to enter the docker container: 1. Use the docker attach command to enter the docker container. 2. Use the docker exec command to enter the docker container.
- Docker 11485 2020-03-30 09:48:59
-
- How to check the application version in docker
- How to check the application version in docker: 1. Use the "docker ps" command to check the currently running container. 2. Use the "docker exec -it (application name, or id) bash" command to enter the container. 3. Log in to the container, and then the detailed information of the application will be displayed, including the application version.
- Docker 6329 2020-03-30 09:41:12
-
- How to start docker in ubuntu
- How to start docker in ubuntu: Use the "systemctl start docker" command in the ubuntu terminal to directly start the docker service.
- Docker 11019 2020-03-28 15:25:14
-
- How to delete docker in ubuntu
- How to completely delete docker in Ubuntu: first use the "dpkg -l | grep docker" command to query related software packages, and then use the "sudo apt remove --purge dock.io" command to delete the queried packages.
- Docker 3087 2020-03-28 14:54:19
-
- How to detect if docker installation is successful
- How to detect whether docker is installed successfully: Execute the docker command in the terminal, and then the relevant information will be output. We can judge whether docker is installed successfully based on the output information.
- Docker 3247 2020-03-26 17:24:37
-
- What are the main features of docker?
- The main features of docker: 1. Lightweight: One machine can run multiple docker containers and takes up very few resources. 2. Docker containers are based on open standards and can run on almost all platforms. 3. Extremely safe.
- Docker 5216 2020-03-26 14:21:57
-
- Will data be lost after docker restarts?
- After docker is restarted, the log or database data generated during the running of the container will be cleared. Docker can permanently store data by mounting the host disk directory.
- Docker 13569 2020-03-26 14:11:00
-
- What to do if the docker container fails to restart
- The solution to the failure to restart the docker container is: 1. Check the mount points occupied by docker; 2. Execute the umount command to uninstall the occupied mount points; 3. Execute the command [docker ps -aq | xargs -I {} docker start {} ] Just restart the container.
- Docker 3695 2020-03-25 18:05:10
-
- How docker runs a project
- The method for docker to run a project is: 1. Enter the directory where your project war is stored; 2. Build the image; 3. Run the docker container; 4. Execute the command [192.168.1.178:8888/myproject] to access the project.
- Docker 5079 2020-03-25 17:55:00
-
- How docker restarts all container services
- The method for docker to restart all container services is to execute the command [docker start $(docker ps -a | awk '{ print $1}' | tail -n +2)] to start all container services.
- Docker 10923 2020-03-25 17:46:57
-
- What should I do if docker cannot delete the image?
- The solution to the problem that docker cannot delete the image is: 1. Switch to the root user; 2. Execute the command [service docker stop]; 3. Execute the command [rm -rf /var/lib/docker] to delete the image.
- Docker 2860 2020-03-25 17:38:51
-
- How to build a docker private image server
- How to build a docker private image server: [docker run -itd -v /my_registry:/var/lib/registry -p 5000:5000--restart=always --...egistry:latest].
- Docker 3073 2020-03-25 15:35:55