Docker images,info,-d and other commands to solve the error _docker

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.