0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

docker imageファイルの保存先

Posted at

以下やろうと思ったけど symlinkだといろいろエラーになるのでやめた

do the trick:

/etc/docker/daemon.json

{
"graph": "/mnt",
"storage-driver": "overlay2"
}
Despite the method you have to reload configuration and restart Docker:

sudo systemctl daemon-reload
sudo systemctl restart docker
To confirm that Docker was reconfigured:

docker info|grep "loop file"
In recent version (17.03) different command is required:

docker info|grep "Docker Root Dir"
Docker Root Dir: /mnt/docker

ストレージドライバ

overlay2じゃないと buildでエラーになる?
https://qiita.com/NaotoHanaue/items/b9f395a63f7aae2a41b7

sudo docker info
(snip)
Storage Driver: overlay2

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?