Running saved Netbox contain fails

Hi. Total newbie here.

Currently, I have Netbox running inside of Home Assistant and I want to migrate it to another device. I was able to extract my container into a tarball using docker save and then correspondingly recreate it using docker image. However, when I attempt to run the container, the logs say:

  • Generating new secret key
  • netbox entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  • /run.sh: line 61: /data/secret-key.py: No such file or directory
  • Info: Container shutdown in progress..

This leaves this container’s list of Files empty, as it is no longer running. I was under the impression that when I ran docker save that it would produce an archive with all parent layers, and all tags + version. What am I missing here?

docker save or docker image save saves an image, not a container. A container can be created from an image. But what is docker image? What command did you use exactly? There is docker load or docker image load, which loads the image, frm which you can create a container.