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 docker containers call each other
- How docker containers call each other: You can add the parameter link when running the container, such as [docker run -it --name centos-2 --link centos-1:centos-1 docker.io/centos:latest] .
- Docker 4127 2020-04-14 10:03:57
-
- How to log in to docker as root user
- The method for docker to log in as the root user is: 1. Run the command [docker ps] to view the CONTAINER ID of the container; 2. Run the command [docker exec -ti -u root CONTAINER ID bash] to obtain root permissions.
- Docker 3389 2020-04-05 14:55:07
-
- How to make docker image
- The method of docker self-made image is: 1. Start the docker service; 2. Create and enter the container; 3. Run the command [docker commit -m 'image description' -a 'producer' container name image name] to create the image.
- Docker 5928 2020-04-05 14:46:34
-
- How to get docker container hostname
- The method to obtain the docker container host name is to directly execute the command [docker inspect -f '{{.Config.Hostname}}' container name].
- Docker 4632 2020-04-05 14:36:04
-
- What is docker used for?
- Docker is an open source application container engine. It can realize automated packaging and release of web applications, automated testing and continuous integration, deploy and adjust databases or other back-end applications in a service-oriented environment, and build a PaaS environment.
- Docker 9308 2020-04-05 14:24:32
-
- How to uninstall docker under linux
- The method to uninstall docker under Linux is: 1. Execute the command [yum remove docker-ce.x86_64 ddocker-ce-cli.x86_64 -y] to delete the installation package; 2. Execute the command [rm -rf /var/lib/docker] to delete Mirror.
- Docker 4361 2020-04-05 11:41:20
-
- How to save docker image to local compressed file
- The method to save the docker image to a local compressed file is: 1. Use the command [docker images] to view the image list; 2. Execute the command [docker image save -o nginx.tar docker.io/nginx:latest] to save.
- Docker 5010 2020-04-05 11:29:07
-
- How to get docker image
- The method to obtain the docker image is: 1. Execute the command [docker search xxx] to view the available images; 2. Execute the command [docker pull xxx:latest] to pull it; 3. Execute the command [docker images] to view the image.
- Docker 3342 2020-04-05 10:57:35
-
- How to check whether docker is installed successfully
- The way to check whether docker is installed successfully is to directly execute the command docker to check. If the message [A self-sufficient runtime for containers] is output, it means the installation is successful.
- Docker 14399 2020-04-05 10:49:53
-
- How to modify the docker image warehouse
- The method to modify the docker mirror warehouse is: 1. Create the daemon.json file and modify the configuration ["registry-mirrors"]; 2. Reload daemon.json; 3. Execute the command [systemctl restart docker] to restart docker.
- Docker 3689 2020-04-05 09:46:27
-
- How to install docker ce
- The method to install docker ce is: 1. Uninstall the old version of docker and associated dependent resources; 2. Install the required software packages and set up the mirror warehouse; 3. Execute the command [yum install docker-ce] to install docker ce.
- Docker 2048 2020-04-05 09:40:08
-
- How to start docker
- The method to start docker is: 1. Execute the command [systemctl start docker] to start docker; 2. Execute the command [docker ps -a] to check whether docker starts successfully.
- Docker 6283 2020-04-05 09:26:24
-
- What should I do if the docker image cannot be accessed after it is started?
- The solution to the problem that the docker image cannot be accessed after it is started is: 1. Open the sysctl.conf configuration file; 2. Add the configuration [net.ipv4.ip_forward=1]; 3. Execute the command [systemctl restart network] to restart the network.
- Docker 3303 2020-04-04 14:14:49
-
- Can docker use oracle?
- Oracle can be used completely under docker. We can pull oracle by executing the command [docker pull docker.io/sath89/oracle-12c].
- Docker 3517 2020-04-04 14:06:18
-
- Docker container encoding mode setting error
- Modify the docker container encoding method: Use Dockerfile to build a new image based on the original container, and use ENV LANG to specify the encoding format.
- Docker 2490 2020-04-03 15:46:56