Docker Community Forums

Share and learn in the Docker community.

Start docker containers at boot

Hello,

I am new here. I just installed Docker in a Debian server and try to run some containers:

docker run -d -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

It works fine, but I want to to some containers start when I reboot the host. How could I configure this?

Is there any configuration file for this?

Thanks for your help.

Regards.