Last active
September 11, 2016 13:35
-
-
Save kitsuyui/3d59ea580b5e2ca47767bfe9b8aed78e to your computer and use it in GitHub Desktop.
未解決: Docker を aufs ではなく Device-mapper で使うとどうなるかディスクフルにしてみた ref: http://qiita.com/kitsuyui/items/2614fd28153798d77d66
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get update | |
$ sudo apt-get install -y apt-transport-https ca-certificates | |
$ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
$ sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -s -c) main" | |
$ sudo apt-get update | |
$ sudo apt-get purge lxc-docker | |
$ sudo apt-get install -y docker-engine | |
$ sudo service docker start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dd if=/dev/urandom of=testdata bs=64M count=16 iflag=fullblock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run -it ubuntu /bin/bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker ps | |
$ docker rm コンテナのID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error response from daemon: Driver devicemapper failed to remove root filesystem xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: devicemapper: Error running DeleteDevice dm_task_run failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment