Accessing the Docker CLI from the shell

Jakob K

Cadet
Joined
Feb 25, 2023
Messages
6
Hi all,

if I am not mistaken, in the past it was possible to use the "raw" Docker CLI from the shell in TrueNAS Scale.
However, the CLI and respective commands are not available anymore.

Is this a deliberate choice?
Should I use a VM instead if I want to run some containers without the underlying k3s system TrueNAS scale is using?
Or am I missing a configuration step here?

Thanks in advance,
Jakob
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
Are you running 23.10? Because Docker has been removed in 23.10 due to an upstream switch from k3s from docker to containerd as runtime.
 

Jakob K

Cadet
Joined
Feb 25, 2023
Messages
6
Yes, I just switched to another system, where I installed TrueNAS Scale 23.10.0.1. Thanks for the hint.

So if I rely on Docker being available, I should do so in a Virtual Machine on TrueNAS Scale?
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
If you want to run native docker you have two options:
1. run a linux vm and run docker inside the vm
2. the jailmaker script from Jip-Hop.

Option 1 is fully supported by truenas, Option 2 as i believe is not officially supported and a more "hacky" way.
 
Top