Skip to content
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

fail to use docker on my chromebook pixel in crouton. #2259

Closed
harryprince opened this issue Nov 24, 2015 · 3 comments
Closed

fail to use docker on my chromebook pixel in crouton. #2259

harryprince opened this issue Nov 24, 2015 · 3 comments

Comments

@harryprince
Copy link

I fail to use docker on my chromebook pixel in crouton.
this is the error:

$ docker pull
docker: "pull" requires 1 argument.
See 'docker pull --help'.

Usage:  docker pull [OPTIONS] NAME[:TAG|@DIGEST]

Pull an image or a repository from a registry
$ docker pull ubuntu
Using default tag: latest
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
$ sudo docker pull ubuntu
Using default tag: latest
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
sudo docker daemon
WARN[0000] Your Linux kernel version 3.8.11 can be unstable running docker. Please upgrade your kernel to 3.10.0. 
ERRO[0000] [graphdriver] prior storage driver "devicemapper" failed: Error running deviceCreate (CreatePool) dm_task_run failed 
FATA[0000] Error starting daemon: error initializing graphdriver: Error running deviceCreate (CreatePool) dm_task_run failed 

and here is the information of core:

$ uname -a
Linux localhost 3.8.11 #1 SMP Mon Nov 16 23:42:11 PST 2015 x86_64 x86_64 x86_64 GNU/Linux
$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
$ sudo service docker start
start: Unknown job: docker

I am really confusing why I can find the path of docker from /etc/init and /etc/default, but I fail to start my docker deamon?

$ ls /etc/init |grep docker
docker.conf
$ ls /etc/default/ |grep docker
docker

I have tried some methos from Google and GitHub, but I failed.

@harryprince harryprince changed the title fail to use docker on my crouton fail to use docker on my chromebook pixel in crouton. Nov 24, 2015
@sedlund
Copy link

sedlund commented Nov 27, 2015

docker will not run in crouton. chromeos will not give access to the network and kernel modules required to start docker. If you want docker I suggest learning how to install virtualbox in crouton, run a regular linux distribution in that, and then run docker on it.

@perpen
Copy link

perpen commented Dec 19, 2015

Running docker natively for now involves installing a custom kernel and quite a bit of hacking.
I used to do this but I'm now pretty satisfied just using docker-machine to run the containers on a remote box on digitalocean.

@air
Copy link

air commented Apr 8, 2017

Rkt works fine #2777 (comment)

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

5 participants