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 check the docker image after downloading it
- How to view the docker image after downloading it: 1. Use the docker images command to list the information of all images on this machine. 2. Use the docker inspect command to view the image details.
- Docker 4855 2020-04-03 15:25:15
-
- The difference between docker and traditional virtualization
- The difference between docker and traditional virtualization: Docker containers implement virtualization at the operating system level and directly reuse the operating system of the local host, while the traditional method implements virtualization at the hardware level.
- Docker 2901 2020-04-03 15:08:40
-
- How to view logs of docker cluster container
- How to view docker cluster logs: Log in to your container cloud web console, select the cluster, and click "View Logs" in the pop-up window to obtain log information about cluster operations.
- Docker 3691 2020-04-03 15:03:26
-
- Java in docker displays Chinese garbled characters
- Solution to the problem that java in docker displays Chinese garbled characters: 1. Execute the "sudo apt-get -y install language-pack-zh-hans" command. 2. Set the environment variable to export LC_ALL=zh_CN.UTF-8.
- Docker 2975 2020-04-03 14:35:02
-
- Where does docker pull the image from?
- docker pull downloads the image from Docker Hub (https://hub.docker.com/) by default. Before downloading the image, we can use the docker search command to find the image in Docker Hub.
- Docker 3319 2020-04-03 14:23:09
-
- Several ways to create containers with docker
- How to create a container with docker: 1. Use the docker pull command to directly download the container to the local. 2. Use the docker run command to create and start the container.
- Docker 12527 2020-04-03 14:11:50
-
- How to start docker after importing the image
- How to start docker after importing the image: After successfully importing the image, directly use the "docker run" command to start. Importing the image can be achieved using the "docker load" command.
- Docker 10123 2020-04-03 13:58:23
-
- How to check the version number of docker
- How to check the docker version number: 1. Use the service docker start command to start docker. 2. Use the docker version command to check the docker version number.
- Docker 28201 2020-04-03 13:46:23
-
- Where is the configuration file after docker installation?
- After docker is installed, you can use the "cat /usr/lib/systemd/system/docker.service" command to view the location of the configuration file. You can see that the configuration file is in the /etc/sysconfig folder.
- Docker 13729 2020-04-03 13:29:28
-
- docker reports error exited(137)
- When starting the docker container, an error "Exited(137)***ago" occurs. This error occurs because the space allocated by the container is insufficient. For example, only 512M is allocated, but 1G is needed. We can set "-Xms1G" in the configuration file. -Xmx1G" to solve.
- Docker 8088 2020-04-03 13:17:06
-
- How docker selects the ipv6 address segment
- How docker uses the ipv6 address segment: Open the /etc/docker/daemon.json file, set up ipv6 support in this file, add the ipv6 address segment, and then restart Docker.
- Docker 3544 2020-04-03 11:57:14
-
- How to map docker port to host machine
- How to map the docker port to the host: Specify the port mapping through the -p or -P parameter when the container is started. The lowercase p means that docker will choose a specific host port to map to the open network port inside the container, and the uppercase P means a random host port.
- Docker 3304 2020-04-03 11:39:19
-
- Can docker run on a virtual machine?
- Docker containers can run on virtual machines or physical machines. Containers and virtual machines are not on the same level, they are a packaged collection of software + environment.
- Docker 5402 2020-04-03 11:21:46
-
- How to view files in docker
- How to view files with docker: 1. Use the "docker attach ContainerID" command to view running container files. 2. Use the "docker cp <container name>:<path><host path>" command to copy the file to the host for viewing.
- Docker 7993 2020-04-03 11:02:14
-
- What is the function of cgroup in docker
- The main functions of cgroup in docker: 1. Resource Limitation (ResourceLimitation). 2. Prioritization. 3. Resource statistics (Accounting). 4. Process control (Control).
- Docker 7812 2020-04-03 10:51:03