Article Tags
Where does docker configure the port?

Where does docker configure the port?

Where docker configures ports: 1. Automatic mapping, randomly opening a port on the docker host and mapping it to port 80 in the container; 2. Specifying mapping, mapping port 80 of the host to port 80 of the container; 3. Public dockerfile The port specified by the EXPOSE directive.

Jun 19, 2020 am 09:33 AM
docker
How to install docker on a virtual machine?

How to install docker on a virtual machine?

How to install docker on a virtual machine: first install docker, the code is [yum install -y docker]; then modify the docker configuration file, then configure CDN, add a parameter in the [/etc/resolv.conf] file; finally check Just check whether the image is downloaded successfully.

Jun 19, 2020 am 09:19 AM
docker
What is the difference between docker save and docker export?

What is the difference between docker save and docker export?

The difference between docker save and docker export: 1. Docker save saves the image, while docker export saves the container; 2. Docker load is used to load the image package; 3. Docker load cannot rename the loaded image.

Jun 17, 2020 pm 05:44 PM
docker save docker export
How to package docker image?

How to package docker image?

Steps: 1. Reference the "maven docker" plug-in, open the java application jar package, and click the package button; 2. Create a new docker folder and put the jar package into the folder; 3. Create a new Dockerfile file and enter the packaging command; 4. Click docker Just click the plugin build button.

Jun 17, 2020 am 10:18 AM
docker 镜像
Two characteristics of docker images

Two characteristics of docker images

Two characteristics of docker images: 1. The image is layered. An image can be composed of multiple intermediate layers, and multiple images can share the same intermediate layer; 2. The image is read-only. After the image is built, it will no longer be available. Can be modified.

Jun 16, 2020 pm 05:45 PM
docker 镜像
Docker deploys two basic images of go

Docker deploys two basic images of go

Docker deploys two basic images of Go: 1. golang:latest image, packaging image command [docker build -t gotest.]; 2. alpine:latest image, packaging image command [docker build -t common.].

Jun 15, 2020 pm 05:50 PM
docker go 镜像
Build the first Dockerfile

Build the first Dockerfile

docker: This article introduces you to the method of building the first Dockerfile file. It has certain reference value and I hope it can help you. Method to create an empty Dockerfile: [mkdir dockerfile_test].

Jun 13, 2020 pm 05:47 PM
Dockerfile
How to install nginx under docker

How to install nginx under docker

The method to install nginx under docker is: 1. Execute the [docker pull nginx] command to pull the latest nginx image; 2. Create the /srv/web directory; 3. Create a container; 4. Deploy; 5. Test.

Jun 12, 2020 pm 06:20 PM
docker nginx
What is the difference between Docker and Azure?

What is the difference between Docker and Azure?

The difference between Docker and Azure: Azure is a cloud computing-based operating system whose main goal is to provide a platform for developers, while Docker is an open source application container engine that allows developers to package applications into a portable image. , and then publish to any popular platform.

Jun 12, 2020 pm 05:35 PM
docker
Is there Docker for Windows?

Is there Docker for Windows?

Windows does not have Docker, but Docker can be installed, and Docker has already launched the Docker for Windows toolkit, which provides a complete tool chain for developers to develop Docker-oriented applications on Windows.

Jun 12, 2020 pm 04:08 PM
docker
How to check the error report in docker?

How to check the error report in docker?

How to check the error report in docker: 1. Log in to the docker host to analyze the problem and start the [iframe-test] machine; 2. When the docker container starts a fault prompt, enter the code [[root@server opt]# cd]; 3. Execute [free - mh] command to view memory.

Jun 12, 2020 pm 03:56 PM
报错
How to configure the memory size for docker?

How to configure the memory size for docker?

Methods to solve the problem of docker configuration memory size: 1. Mount the configuration file in docker and configure the jvm memory size through catalina.sh; 2. Directly modify the configuration method of catalina.sh of the tomcat container, enter the container to find the configuration file and add the configuration That’s it.

Jun 12, 2020 pm 03:25 PM
配置内存
What should I do if docker cannot connect to broadband?

What should I do if docker cannot connect to broadband?

The solution to the problem that docker cannot connect to broadband: First edit the configuration file, the code is [vim /etc/sysctl.conf]; then add the code to the file, the code is [net.bridge.bridge-nf-call-ip6tables=1]; Finally, restart the network.

Jun 12, 2020 pm 03:05 PM
docker 宽带
What should I do if the docker folder mapping fails?

What should I do if the docker folder mapping fails?

Methods to solve the problem of unsuccessful docker folder mapping: 1. Host volume mapping method, the code is [[root@docker1 ~]# c/var/data/]; 2. Use shared storage mapping method to map a host Create a folder for the nfs host and share it with the two docker hosts.

Jun 12, 2020 pm 02:50 PM
文件夹映射

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use