docker 修改已启动的容器参数

1
2
3
4
docker ps --no-trunc
service docker stop
cd /var/lib/docker/containers/1e586bf398ffb62452234bfffca43614fb5598552d107831ca1ae7a779edb420
vim config.v2.json

修改后:

1
service docker start