Using Docker Hub on TrueNAS Scale: Installing MySQL and Node.js

Hello,

I’ve been trying for a while now to install Docker on my TrueNAS Scale, and here’s what I’ve done so far.

I wanted to try installing MySQL and Node.js.

I started by adding the Docker link to the container manager images:

https://hub.docker.com/layers/library/mysql/9.0.1/images/sha256-0cf8b60f74e235c4dd4beb762b10ec6da3dce30265f5f1d40c2c11fa7872ebd9?context=explore

https://hub.docker.com/layers/library/node/23.1.0/images/sha256-4ebe628071c13cc440d7dd31e48154182df8874401bdb4d2f92ba6677f09a616?context=explore

Next, I added a custom application, specifying a few parameters for:

MySQL


Node.js

The issues I’m facing are that while MySQL seems to have installed correctly, I can’t access this Docker machine. I’m unsure if it’s an IP issue since I don’t know how to retrieve the IP for the Docker machine.

Both ifconfig and ipconfig don’t work in the dedicated terminal.

Additionally, with Node.js, I can’t start the Docker:

Back-off restarting failed container ix-chart in pod nodejs-ix-chart-f895fcdb9-cpvlc_ix-nodejs (96e28d09-4866-43f4-ae15-2579ef8e4cba)

I’d also like to set up my database and Node.js code on redundant disks, so I believe I need to use “Tank.”

image
This is my first time using Docker, and I don’t fully understand everything about TrueNAS, so apologies in advance if I’m missing some details.

Best regards.