DDCODE

Share programming skills from Magic Oriental

upArrow

How do i modify the docker container log directory?

 May 11, 2019   docker, question

Because the server’s hard disk is relatively small, the hard disk is plugged in, but I don’t know how to transplant the docker container log directory.

The default is/var/lib/docker/containerWant to modify to/storger/docker/containerLi.

  1. Sets the directory path that the Docker runs as the root directory.
    docker –graph={path}

Related Posts:

  • Why does the error log file generated by pm2 have…
  • A nginx docker container was created. How to edit…
  • Windows 10 docker Mount Directory Cannot Modify…
  • I installed docker in centos container, that is, I…
  • For javaweb projects, log4j does not specify the log…
  • When docker volume mounts a nonexistent host…
  • Docker VOLUME created a directory. I added files to…
  • In docker Build, how to send the parameters to the…
  • Modify a file and submit it. the git log of the…
<< Docker installs Discourse ./launcher start app DockerToolbox-1.8.1b installed on mac does not have a Continue button and cannot proceed to the next step. >>

Related Posts:

  • Why does the error log file generated by pm2 have…
  • A nginx docker container was created. How to edit…
  • Windows 10 docker Mount Directory Cannot Modify…
  • I installed docker in centos container, that is, I…
  • For javaweb projects, log4j does not specify the log…
  • When docker volume mounts a nonexistent host…
  • Docker VOLUME created a directory. I added files to…
  • In docker Build, how to send the parameters to the…
  • Modify a file and submit it. the git log of the…

Tags

Android android-studio apache c c++ centos Css css3 Database Docker Eclipse Express Front end git GitHub golang Html html5 Ios java javascript Jquery Laravel linux macos mongodb mysql Nginx node.js npm objective-c php Programmer python redis ruby shell Spring Sql Swift ubuntu vim vue.js Web xcode

Powered by MyWiki WordPress Theme