Question - Community on VMWare networking problems

I think I have found my problem.

I run docker compose, and it creates 4 containers, and I’m able to get to https://:8443 without issue. However, if I reboot the VM, containers are no longer there. The only thing I can do is recreate them by running docker compose again.

I’m not an expert with docker, so I’m not sure if this is normal behavior. Do I need to create a startup script to recreate the containers every reboot?

This might help: Start containers automatically | Docker Documentation
We will also consider adding this to our docker image.

Thank you! However, using the restart policies errors out:

On already running containers, you have to use the last command:
docker update --restart unless-stopped $(docker ps -q)

We include it in our docker so the policy is there directly after compose.