I have a netbox 3 instance on a docker server this is working well, but I need to migrate it to a new host.

How would I even begin that process?

0 points

Not familiar with netbox, so there may be nuance that I’m likely to miss. But I guess the first thing to do is understand exactly what you have. Are your containers deployed using docker compose? If so, just copy the compose file over to the new host, then docker compose up -d and your container stack should be running just the same. If your not using compose yet, there’s a tool that can generate a compose file from running docker containers. That could make life easier.

The possibly more complicated bit is any persistent data - where is this? Is it in bind mounts on the host? Or volume mounts? Things like secrets and configuration will also need to be copied over and put in the right places, as just a compose file alone will only get you a greenfield setup

permalink
report
reply
0 points
Deleted by creator
permalink
report
parent
reply
0 points

If you are comfortable with it you could share the contents of your docker-compose, that would make it a bit easier for us to give some pointers. Just be sure to redact any sensitive information (usernames, passwords, IP adresses etc.)

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply

Docker

!docker@rammy.site

Create post

Everything about Docker! Here you can post news, hints or what else you can think of. The mod @Djokkum is pretty knowledgeable on the topic (and doesn’t bite most of the time), so feel free to post any questions as well.

Community stats

  • 1

    Monthly active users

  • 1

    Posts

  • 2

    Comments

Community moderators