IMPORTANT
IMPORTANT
The following is a collection of important do’s and don’ts you should be aware of when starting to use the Devilbox and Docker in general.
Starting
Do not run via sudo or root
Do not start the Devilbox with sudo or as root user. If it complains
about permissions when starting it with your normal system user, it is
probably due to the fact, that your user is not in the docker group.
Ensure you have read and done the following:
- Add user to
dockergroup:prerequisites-docker-installation - Synronize file permissions:
install-the-devilbox-set-uid-and-gid
[!WARNING] If you start the Devilbox with
sudoor asrootuser, it will most likely mess with your file permissions.
Starting, Stopping and Restarting
Whenever you want to stop the Devilbox, change configuration and start up again, do not forget to remove stopped container.
# Stop the Devilboxhost> docker-compose stop
# Remove stopped containerhost> docker-compose rm
# Start the Devilboxhost> docker-compose upstart-the-devilbox-stop-and-restart (why do docker-compose rm?)
Backups
Ensure to do regular database backups! Better safe then sorry!
* backup-and-restore-mysql * backup-and-restore-pgsql *
backup-and-restore-mongo