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

  • How docker containers call each other
    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
    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
    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
    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?
    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
    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
    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
    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
    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
    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
    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
    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?
    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?
    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
    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

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