docker modify config for running container
· One min read
here is mounted directory
- stop docker
$ systemctl stop docker
- modify container's config
$ cd /var/lib/docker/container/$containerID/
$ vim config.v2.json
# modify MountPoints
$ vim hsotconfig.json
# modify Binds
- start docker
$ systemctl start docker
- start container
$ docker start $containerID