本文翻译自:I lose my data when the container exits
Despite Docker's Interactive tutorial and faq I lose my data when the container exits. 尽管有Docker的Interactive教程和常见问题解答,但当容器退出时,我仍然丢失了数据。
I have installed Docker as described here: http://docs.docker.io/en/latest/installation/ubuntulinux without any problem on ubuntu 13.04. 我已经按照以下说明安装了Docker: http : //docs.docker.io/en/latest/installation/ubuntulinux在ubuntu 13.04上没有任何问题。
But it loses all data when exits. 但是退出时它将丢失所有数据。
iman@test:~$ sudo docker version
Client version: 0.6.4
Go version (client): go1.1.2
Git commit (client): 2f74b1c
Server version: 0.6.4
Git commit (server): 2f74b1c
Go version (server): go1.1.2
Last stable version: 0.6.4
iman@test:~$ sudo docker run ubuntu ping
2013/10/25 08:05:47 Unable to locate ping
iman@test:~$ sudo