Page 2 of 2

Run Docker in Porteus

Posted: 03 Nov 2021, 22:11
by beny
hi Testuser i have used a stock porteus to start docker and i have seen that cgroupfs is not loaded only the elogin so you have to load it manually in terminal: mount -t cgroup -o all cgroup /sys/fs/cgroup
start dockerd and try please.
guest@porteus:~$ docker pull archlinux
Using default tag: latest
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=archlinux&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
guest@porteus:~$ su root
Password:
root@porteus:/home/guest# docker pull archlinux
Using default tag: latest
latest: Pulling from library/archlinux
41a9f69bb30e: Extracting 134.4MB/134.4MB
0a6f83522215: Download complete

Run Docker in Porteus

Posted: 07 Dec 2021, 19:02
by Testuser
Hi Beny,

Sorry for the late reply. Was very busy with.

Like you said cgroup was not loaded. Tried a cgroup script to make it work and tried all your packages and kernel and finally Docker worked. :Yahoo!:

Thanks much. :crazy:

Really appreciate your efforts. :thumbsup: :hi:

Also do you please provide any links/tools/any guides for creating customized kernel.

Just curious to know what modification were done in "000-kernel.xzm" and why crippled sources needs to be added for it to work?

Thanks in Advance.

Run Docker in Porteus

Posted: 08 Dec 2021, 16:01
by beny
hi Testuser glad that work,well you have to use this tool for the kernel build:https://www.mediafire.com/file/z3mb7bpd ... arch-1.xzm
and you have to have also the devel package that have inside the gcc and other software,for the cgroup question:https://man7.org/linux/man-pages/man7/cgroups.7.html, the kernel builder, you can use a different config if you want with your configure,and there are two different environment that you can choose slackware and arch linux,is a powerful tool....

Run Docker in Porteus

Posted: 08 Dec 2021, 17:30
by Testuser
Hi Beny,

Thanks much for the detailed info. :roll:

You are really Full of Knowledge. :)

Run Docker in Porteus

Posted: 02 Jan 2023, 12:51
by rulyua
May i ask you to reupload kernel again? promise to upload it on more stable server :)

Run Docker in Porteus

Posted: 14 Jan 2023, 18:58
by beny
hi rulyua, this is the link for a cgroup full kernel that i have used time ago try if work for you the version is 5.17.6
https://www.mediafire.com/folder/0yvbly ... oup-kernel

Run Docker in Porteus

Posted: 23 Jan 2023, 20:42
by rulyua
thank you so much!
will test it and report results later