current location:Home > Technical Articles > Operation and Maintenance > Docker

  • How to configure IP for docker container
    How to configure IP for docker container
    The method to configure the IP for the docker container is: 1. Check the network mode; 2. Create a custom network; 3. Check the network information; 4. Create the container and specify the container IP, and select any IP address in the custom network segment as the target. Start the IP of the container; 5. Run the container.
    Docker 4442 2020-05-20 13:14:03
  • Can docker build a local mirror warehouse?
    Can docker build a local mirror warehouse?
    Docker can build a local image warehouse. The specific method is: 1. Pull the image and create a local image warehouse storage path; 2. Start the container; 3. Push the local image to the local image warehouse; 4. Verify whether the push to the local image warehouse is successful.
    Docker 2799 2020-05-20 11:49:23
  • How docker clears stopped containers
    How docker clears stopped containers
    How docker clears stopped containers: 1. Execute the [docker ps] command to filter out the containers in the Exited state and retrieve the container ID; 2. Execute the [docker rm] command to delete the containers in the Exited state.
    Docker 3696 2020-05-20 11:34:24
  • What to do if the docker service cannot be restarted
    What to do if the docker service cannot be restarted
    The solution to the failure to restart the docker service is: 1. Delete the docker installation package and download it again; 2. Edit the docker.sh configuration file and configure DOCKER_HOST; 3. Edit the startup file and configure the ExecStart option; 4. Restart the docker service.
    Docker 3867 2020-05-20 11:13:29
  • How docker configures jdk environment variables
    How docker configures jdk environment variables
    The method for docker to configure jdk environment variables is: 1. Edit the [.bashrc] file and add the configuration [export JAVA_HOME=/opt/jdk] in the file; 2. Execute the [source ~/.bashrc] command to make the environment variables take effect. .
    Docker 4926 2020-05-20 10:59:57
  • What should I do if the docker container has Chinese garbled characters?
    What should I do if the docker container has Chinese garbled characters?
    The solution to the Chinese garbled characters in the docker container is: 1. Execute the [locale -a] command to view the language environment of the container; 2. Edit the Dockerfile file and add the configuration [ENY LANG C.UTF-8] to the file.
    Docker 3955 2020-05-20 10:41:59
  • How docker accesses the Internet through a proxy
    How docker accesses the Internet through a proxy
    The method for docker to access the Internet through a proxy is: 1. Edit the /usr/lib/systemd/system/docker.service file and add the configuration [Environment="HTTP_PROXY=proxy url"]; 2. Restart the docker.service service.
    Docker 3734 2020-05-20 10:28:32
  • How docker replaces domestic warehouse
    How docker replaces domestic warehouse
    The method for docker to change the domestic warehouse is: 1. Execute the [docker pull] command to change the pull address to the domestic mirror warehouse; 2. Edit the /etc/docker/daemon.json file and add the registry-mirrors key value.
    Docker 4223 2020-05-20 10:14:11
  • How to uninstall docker
    How to uninstall docker
    The method to uninstall docker is: 1. Execute the [yum list] command to view the installed packages of docker; 2. Execute the [yum remove] command to delete the installed packages; 3. Execute the [rm -rf /var/lib/docker] command Delete docker.
    Docker 3902 2020-05-20 10:02:20
  • How does the host host access the docker service in the virtual machine?
    How does the host host access the docker service in the virtual machine?
    How the host host accesses the docker service in the virtual machine: 1. Enter the virtual machine where the docker service is located; 2. Click [Settings], [Network], and select the NAT network card; 3. Click [Advanced] and select [Port Forwarding] ;4. Add port forwarding rules.
    Docker 4962 2020-05-20 09:52:11
  • What systems can be run in docker
    What systems can be run in docker
    Currently, only Linux systems can be run in docker. If we want to use docker on windows environment and mac environment, then we also need to rely on virtualbox to implement the basic system. FreeBSD can already run Docker natively, but it also requires a Linux simulation layer.
    Docker 5584 2020-05-20 09:41:23
  • How to completely uninstall docker
    How to completely uninstall docker
    The method to completely uninstall docker is: 1. Execute the [yum list] command to view the installed packages; 2. Execute the [yum remove] command to delete the installation package; 3. Execute the [rm -rf /var/lib/docker] command to delete docker .
    Docker 9886 2020-05-19 14:28:24
  • How to check the container version in docker
    How to check the container version in docker
    The way docker checks the container version is: You can use the cat command to check it. The specific command is [cat /etc/issue]. The cat command is used to concatenate files and print to the standard output device.
    Docker 8431 2020-05-19 14:12:29
  • How to view docker logs
    How to view docker logs
    The method to view the docker log is: You can use the [docker logs] command to view the docker log. The specific command is such as [$docker logs --since 30m CONTAINER_ID], which means to view the logs of the last 30 minutes.
    Docker 5663 2020-05-19 13:54:04
  • How to download image in docker
    How to download image in docker
    The method to download the image in docker is: you can use the [docker pull] command to download the image. The specific command is such as [docker pull learn/tutorial], which means downloading the tutorial image.
    Docker 4308 2020-05-19 13:38:48

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28