docker - How to enable AUFS on Debian? -


when try install docker via:

curl -ssl https://get.docker.com/ | sh 

i message:

warning: current kernel not supported linux-image-extra-virtual package. have no aufs support. consider installing packages linux-image-virtual kernel , linux-image-extra-virtual aufs support.

however, neither package seems exist on debian jessie:

# apt-get install linux-image-virtual linux-image-extra-virtual reading package lists... done building dependency tree reading state information... done e: unable locate package linux-image-virtual e: unable locate package linux-image-extra-virtual 

what missing here?

aufs not supported modern kernels, should skip overlayfs aufs. restart docker daemon option:

--storage-driver=overlay2 

(or add option /etc/default/docker)

in systems should add processing of file /etc/default/docker start procedure creating /etc/systemd/system/docker.service content:

[service] environmentfile=-/etc/default/docker execstart= execstart=/usr/bin/docker daemon -h fd:// $options \       $docker_storage_options \       $docker_network_options \       $block_registry \       $insecure_registry \       $docker_opts 

more info here

execute

systemctl daemon-reload 

for changes take effect.

caution! images become unreachable. if want keep them, save , reload them. can find description here

upd. i've changed overlay overlay2 because solves little bit more problem described here


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -