First, the discovery of problems
Landlord regardless of input that command, have appeared:
Ii. Solutions
As well as similar errors, even the docker version
command is an error, the landlord began looking for, found a lot of things, the results found that no one can do, the last landlord to use such a command:
Add the following content to the file:
That's all. I don't know what to do. It's really amazing.
Landlord quickly used a bit
syx@syx-vb:~$ Docker version
client version:1.6.2
client API version:1.18 go
version (client): go1.3.3
Git Commit (client): 7C8FCA2
Os/arch (client): linux/amd64
server version:1.6.2
server API version:1.18 go
version (server): Go1.3.3
git commit (server): 7C8FCA2
Good magic, finally can, the landlord quickly Docker upgrade to the latest version.
$ sudo add-apt-repository ppa:docker-maint/testing
$ sudo apt-get update
Landlord so on the line once, and then the landlord began to find reasons, the landlord asked to ask, others said in Ubuntu install a devicemapper
The landlord uses the following commands:
It's still not working.
root@syx-vb:~# Service Docker Restart
root@syx-vb:~# Docker version
root@syx-vb:~# Docker version
Client Version:1.7.0-dev
Client API version:1.19 Go
version (client): go1.4.2
Git commit (client): 9234460
OS /arch (client): LINUX/AMD64
Landlord English is not good, do not understand what meaning, then ask.
Someone told the landlord docker -d
to use to see:
root@syx-vb:~# docker-d
info[0000] listening for HTTP on Unix (/var/run/docker.sock)
Don't understand, then ask the great God!!!
The great God said to the/var/lib/docker under the Devicemapper clear off, the landlord a look:
root@syx-vb:/var/lib/docker# ls
And there's this directory, so use:
Then:
root@syx-vb:/var/lib/docker# Docker version
client version:1.7.0-dev
client API version:1.19 go
version ( Client): go1.4.2
Git commit (client): 9234460
os/arch (client): LINUX/AMD64
Why Still not!!
This time the landlord restarted a bit Docker service, incredibly good.
root@syx-vb:/var/lib/docker# Service Docker Restart
Summarize
Well, finally resolved, the above is the entire content of this article, I hope this article on the content of everyone's study or work can help, if you have questions you can message exchange.