Home > Operation and Maintenance > Docker > Where is the configuration file after docker installation?

Where is the configuration file after docker installation?

Release: 2020-04-03 13:29:28
Original
13768 people have browsed it

Where is the configuration file after docker installation?

CentOS 7 uses systemd to manage the docker process. So if we want to know the file location of docker, we can view the systemd configuration:

Use the command to view the systemd configuration of docker:

cat /usr/lib/systemd/system/docker.service
Copy after login

As shown:

Where is the configuration file after docker installation?

You can see that the configuration file started by systemd is obtained by environment variables. The environment variables are in /etc/sysconfig/docker, /etc/sysconfig/docker-storage, /etc/sysconfig/docker-network, and can be viewed in sequence.

For more related tutorials, please pay attention to the docker tutorial column on the PHP Chinese website.

The above is the detailed content of Where is the configuration file after docker installation?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
About docker
From 1970-01-01 08:00:00
0
0
0
docker install phpstudy
From 1970-01-01 08:00:00
0
0
0
Deploy snmp environment in docker
From 1970-01-01 08:00:00
0
0
0
docker: invalid reference format
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template