data and configuration is held inside the container, you have to start the right one on system reboot. docker run commandcreates new empty container, use docker start instead.
Better way is to use Docker volume like this:
docker run -d --name XoruX -v xorux:/home -p 8080:80 xorux/apps
this will create container called XoruX and its data and configuration will be stored in volume called xorux . You can find info on this volume with command:
docker volume inspect xorux
All future instances of xorux/apps started with -v xorux:/home parameter will use data & cfg stored in xorux volume.
Comments
data and configuration is held inside the container, you have to start the right one on system reboot.
docker run command creates new empty container, use docker start instead.
Better way is to use Docker volume like this:
this will create container called XoruX and its data and configuration will be stored in volume called xorux . You can find info on this volume with command:
All future instances of xorux/apps started with -v xorux:/home parameter will use data & cfg stored in xorux volume.