2016-09-20 2 views
0

に私のバージョンを何overlayfsドライバを持っていないのUbuntu 16.04とカーネルのバージョンは、私は、私はturorialで最初に成功ドッキングウィンドウをインストールoverlayfsドライバを使用したい4.4.0ジェネリック私はは/ var/libに/ドッキングウィンドウ

です:http://ciplogic.com/index.php/blog/107-docker-with-overlayfs-on-ubuntu-14-04

が、私はdocker.Thereをインストールした後にの/ var/libに/ドッキングウィンドウ/の下に何もオーバーレイディレクトリを認めなかったが唯一AUFSや他のディレクトリです。ここで

私のドッキングウィンドウのバージョンである:

クライアント:

バージョン:1.12.1

APIのバージョン:1.24

囲碁バージョン:go1.6.3

Gitはコミット: 23cf638

内蔵:Thu Aug 18 05:33:38 2016

OS /アーチ:のLinux/AMD64

サーバー:

バージョン:1.12.1

APIのバージョン:1.24

囲碁バージョン:go1.6.3

Gitはコミット:23cf638

Built:Thu Aug 18 05:33:38 2016

OS /アーチ:のLinux/AMD64

誰もがドッキングウィンドウにオーバーレイドライバをセットアップするために、任意のアイデアを知っていますか?ありがとうございます

答えて

1

afaikどのドッキング・ドライバを使用するべきかを明示的にdocker-daemonに伝える必要があります。

[email protected]/# cat /etc/systemd/system/docker.service 
[Unit] 
Description=Docker Application Container Engine 
Documentation=https://docs.docker.com 
After=network.target docker.socket 
Requires=docker.socket 

[Service] 
Type=notify 
# the default is not to use systemd for cgroups because the delegate issues still 
# exists and systemd currently does not support the cgroup feature set required 
# for containers run by docker 
ExecStart=/usr/bin/dockerd --storage-driver=overlay -H fd:// 
ExecReload=/bin/kill -s HUP $MAINPID 
# Having non-zero Limit*s causes performance problems due to accounting overhead 
# in the kernel. We recommend using cgroups to do container-local accounting. 
LimitNOFILE=infinity 
LimitNPROC=infinity 
LimitCORE=infinity 
# Uncomment TasksMax if your systemd version supports it. 
# Only systemd 226 and above support this version. 
#TasksMax=infinity 
TimeoutStartSec=0 
# set delegate yes so that systemd does not reset the cgroups of docker containers 
Delegate=yes 
# kill only the docker process, not all processes in the cgroup 
KillMode=process 

[Install] 
WantedBy=multi-user.target 

よろしく

:そのために必要なスイッチを使用すると、 /etc/systemd/system/docker.service/lib/systemd/system/docker.serviceをコピーして、 ExecStart -paramを変更する必要があるにsystemdで動作するように、このために

--storage-driver=overlay 

です

関連する問題