8000 Docker support Debian 7 platforms? · Issue #3521 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Docker support Debian 7 platforms? #3521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wpecker opened this issue Jan 9, 2014 · 5 comments
Closed

Docker support Debian 7 platforms? #3521

wpecker opened this issue Jan 9, 2014 · 5 comments

Comments

@wpecker
Copy link
wpecker commented Jan 9, 2014

$ docker -d &
[1] 3211
[/var/lib/docker|1cb97b4b] +job initapi()
[/var/lib/docker|1cb97b4b.initapi()] Creating server
$ Could not locate dockerinit: This usually means docker was built incorrectly. See http://docs.docker.io/en/latest/contributing/devenvironment for official build instructions.[/var/lib/docker|1cb97b4b] -job initapi() = ERR (1)
2014/01/09 21:55:56 initapi: Could not locate dockerinit: This usually means docker was built incorrectly. See http://docs.docker.io/en/latest/contributing/devenvironment for official build instructions.

[1] + 3211 exit 1 docker -d

@paulepanter
Copy link

Dear swan-go, welcome to Docker. According to several posts on the WWW, Docker runs fine on Debian 7.x (Wheezy/stable). I think you should report your issue either to Debian or to the Docker mailing list. The issue list/tracker is in my opinion not the correct place for your issue. Please make sure to report the exact commands you used to install Docker on Debian Wheezy, so your issue can be reproduced.

@tianon
Copy link
Member
tianon commented Jan 9, 2014

This looks to me like a build issue. Did you follow the directions in the guide linked in your error message?

FYI, the "get.docker.io" repo works on Debian, and 0.6.7 is officially in Debian unstable now as "docker.io", and will be transitioning to Debian testing soon.

@wpecker
Copy link
Author
wpecker commented Jan 10, 2014

My debian version information is as follows:
$ uname -r
3.12-1-amd64
$ cat /proc/version
Linux version 3.12-1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.2 (Debian 4.8.2-10) ) #1 SMP Debian 3.12.6-2 (2013-12-29)
$ cat /etc/debian_version
jessie/sid
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid

Docker installation method is as follows:
$sudo apt-get update
$sudo apt-get install lxc wget bsdtar curl golang git aufs-tools mercurial iptables libdevmapper-dev

$go get -v github.com/dotcloud/docker/...
$rm -rf $GOPATH/src/github.com/dotcloud/docker/vendor/src/code.google.com/p/go.net/ipv6
$go install -v github.com/dotcloud/docker/...
$echo 'none /sys/fs/cgroup cgroup defaults 0 0' | sudo tee -a /etc/fstab
$mount /sys/fs/cgroup

$ docker version
Go version (client): go1.2
2014/01/10 16:16:10 dial unix /var/run/docker.sock: no such file or directory

$ docker -d &
[1] 3226
$ [/var/lib/docker|16f71f57] +job initapi()
[/var/lib/docker|16f71f57.initapi()] Creating server
Could not locate dockerinit: This usually means docker was built incorrectly. See http://docs.docker.io/en/latest/contributing/devenvironment for official build instructions.[/var/lib/docker|16f71f57] -job initapi() = ERR (1)
2014/01/10 16:16:00 initapi: Could not locate dockerinit: This usually means docker was built incorrectly. See http://docs.docker.io/en/latest/contributing/devenvironment for official build instructions.
[1] + 3226 exit 1 docker -d

@tianon
Copy link
Member
tianon commented Jan 10, 2014

So, I'm guessing you found an outdated guide for how to compile Docker. We don't support the go get/go install method any more because we have somewhat interesting compilation requirements, and allowing for Docker to be compiled in this way caused many problems, especially inside containers where Docker itself also has to run.

If you read the devenvironment guide linked in the error message you're getting, you will see that the official method of building Docker is by using Docker itself. You can do so by either downloading a straight binary of Docker from https://get.docker.io/builds/Linux/x86_64/docker-latest, or by using the repository we have setup for Ubuntu. Also, we now have an official package in Debian unstable as "docker.io", which you could also use to bootstrap from if you so desire.

@wpecker
Copy link
Author
wpecker commented Jan 10, 2014

Thank you so much, very good, successful operation ~ ~ ~

@wpecker wpecker closed this as completed Jan 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0