Replies: 6 comments 12 replies
-
I never tested this combination. You haven't yet upgraded to the latest version of SCALE? Perhaps you can stop and disable the docker services on the host (temporarily) without fully uninstalling and then see if docker works in the jail. But if I were you I wouldn't bother with trying to get both to work simultaneously and just upgrade to the latest version of SCALE and focus on the solution to make docker work there instead. You can always boot back into an older version of SCALE after the upgrade and roll back. |
Beta Was this translation helpful? Give feedback.
-
systemd-nspawn may be used to run a command or OS in a light-weight namespace container
|
Beta Was this translation helpful? Give feedback.
-
systemd-nspawn is NOT a FULL container solution |
Beta Was this translation helpful? Give feedback.
-
I've migrated 30+ containers into the Jail Maker program, including NextCloud/Jellyfin/Syncthing/Posgres.... |
Beta Was this translation helpful? Give feedback.
-
Please post your jailmaker config file and describe in detail the steps you took to install docker inside the jail. Which OS and version did you choose for the jail rootfs? Which exact truenas version are you running? What did you do exactly to enable docker on the host? Which version of jailmaker are you using? |
Beta Was this translation helpful? Give feedback.
-
Still in the the spirit of having both docker running at the same time, I switched the docker cgroup driver to systemd on the jail (via
I'm now wondering how this could even work with no docker installed on the host system ? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a "old" system on the first versions of Scale (20.xx) that I now want to upgrade to the latest versions ... loosing the ability to directly run Docker within Scale.
Before upgrading the system, I wanted to test how it could actually replace my current (very simple portainer-based) setup : I went through all the steps but I can't start any container within the jail because :
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: mkdir /sys/fs/cgroup/cpuset/docker/37c265e12a2ab4f068e377bc895b789298932a082fe9a20bd2cf4e69c8b781fe: read-only file system: unknown.
As said I still have docker installed and running on the underlying system and the read-only error seems to come from that, but wouldn't the /sys directory inside the jail be coming from the jail "local" rootfs directory and not from the base system one ?
Is there any mean to actually make my test and run docker at the same time on the base system and within a jail ?
Thanks for your insights !
Beta Was this translation helpful? Give feedback.
All reactions