Docker Community Forums

Share and learn in the Docker community.

Ranchos agent issue

docker

(Kenney) #1

I am trying to setup a single node RanchOS cluster but running into error below…
$ sudo docker run --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock rancher/agent http://127.0.0.1:8080 Unable to find image ‘rancher/agent:latest’ locally latest: Pulling from rancher/agent b3e1c725a85f: Pull complete 6a710864a9fc: Extracting [==================================================>] 814 B/814 B d0ac3b234321: Download complete 87f567b5cf58: Download complete 063e24b217c4: Download complete d0a3f58caef0: Download complete 16914729cfd3: Download complete fb770dddb34d: Download complete 0d8557fbdb4c: Download complete docker: failed to register layer: ApplyLayer fork/exec /proc/self/exe: cannot allocate memory stdout: stderr: .

Running Vagrant box of Ranchos 1.0.1

[rancher@rancher ~]$ sudo docker run --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock rancher/agent http://127.0.0.1:8080
Unable to find image ‘rancher/agent:latest’ locally
latest: Pulling from rancher/agent
b3e1c725a85f: Pull complete
6a710864a9fc: Extracting [==================================================>] 814 B/814 B
d0ac3b234321: Download complete
87f567b5cf58: Download complete
063e24b217c4: Download complete
d0a3f58caef0: Download complete
16914729cfd3: Download complete
fb770dddb34d: Download complete
0d8557fbdb4c: Download complete
docker: failed to register layer: ApplyLayer fork/exec /proc/self/exe: cannot allocate memory stdout: stderr: .

[rancher@rancher ~]$ uname -a
Linux rancher 4.9.24-rancher #1 SMP Fri Apr 21 14:30:02 UTC 2017 x86_64 GNU/Linux
[rancher@rancher ~]$ docker
docker docker-containerd-ctr docker-init docker-runc dockerlaunch
docker-containerd docker-containerd-shim docker-proxy dockerd
[rancher@rancher ~]$ docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: linux/amd64

Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: linux/amd64
Experimental: false


(Doncicuto) #2

Hi there!
RancherOS requires at least 512 MB RAM and a 64 bits VM if your VM fulfill those requirements and assuming that you have enough free RAM to run the RancherOS containers I’d suggest you opening an issue in their official forum.

Cheers!