TrueNAS-SCALE docker --hostname --mac-address

Joined
Apr 30, 2016
Messages
26
Hello,

I start to use TrueNAS-SCALE and containers. I have a container, which I need to run with a static mac address. ir regular docker I can run it using this syntax:

docker run -d \
--name=webgrabplus \
--hostname=webgrabplus \
--mac-address=00:00:00:00:00:00 \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-v /path/to/config:/config \
-v /path/to/data:/data \
--restart unless-stopped \
lscr.io/linuxserver/webgrabplus:latest

Is it possible to run a my container in TrueNAS-SCALE with -hostname --mac-address= attributes, because hostname and mac_address arguments are needed for the license check to compose and cli samples.

Any help?

Ed
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Maybe look into the TrueCharts app called Docker Compose, which would likely allow for that.
 
Top