How to change/modify container options (after docker run)

Follow these step
  1. stop docker service (service docker stop)
  2. cd to /var/lib/docker/containers/{container id}/
    You can use command docker inspect {container name} to see the container id
  3. modify config.v2.json or hostconfig.json
  4. start docker (service docker start)


Popular posts from this blog

3G Bandwidth bonding solutions

docker - could not read CA certificate