forked from boer0327/Home-Automation
MySQL
Mattias Martikainen edited this page Jun 19, 2017
·
3 revisions
MySQL docker container The image can be found here MySQL @ Docker HUB
docker create --name mysql --restart=always -e TZ=Europe/Stockholm -e GUID=1000 -e PUID=1000 -e MYSQL_ROOT_PASSWORD=your-password -v /Docker/Mysql/datadir:/var/lib/mysql mysql:latest
docker create --name mysql
Creating the container with the name "mysql"
--restart=always
makes the container start on boot
-e TZ=Europe/London
Timezone
-e GUID=1000
The ID of our users group
-e PUID=1000
The ID of our user
-e MYSQL_ROOT_PASSWORD=your-password
mysql root password
-v /Docker/Mysql/datadir:/var/lib/mysql
Pointing our database to the hosts path
mysql:latest
the name of the image we use from docker hub
- Snapshot Function
- Creating a VM and installing Ubuntu
- Install VMware Tools on Ubuntu
- Upgrade Ubuntu
- Adding USB with persistant names
- Changing Locale
- Extending a VM disk Ubuntu
- Ubuntu Check Filesystem for errors
- SMB/CIFS share
- Rar2fs
- Installing Docker on Ubuntu 18.04
- Basic Commands
- Home Assistant on Docker
- Portainer
- Plex
- PLEX Trakt.tv sync
- Plexpy
- Sickrage
- MQTT
- MySQL
- phpMyAdmin
- Wordpress
- Docker Monitoring with Prometheus and Grafana dashboard
- Octoprint
- Deconz
- Sparsnäs Docker
- FIND3 server
- FIND trackers ESP8266
- Ubiquiti UniFi
- Hass.io NUT UPS
- VPN, rTorrent, Autodl-irssi
- Glances