mtt2p
11/26/2017 - 12:22 AM

Docker link

root@docker:~# runlike mariadbmatt                                                 
docker run --name=mariadbmatt --env="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" --env="GOSU_VERSION=1.7" --env="GPG_KEYS=199369E5404BD5FC7D2FE43BCBCB082A1BB943DB         430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A        4D1BB29D63D98E422B2113B19334A25F8507EFA5" --env="MARIADB_MAJOR=10.1" --env="MARIADB_VERSION=10.1.21+maria-1~jessie" --volume="/data/mariadbmatt/:/var/lib/mysql" --expose=3306/tcp --detach=true mariadb mysqld                                                             root@docker:~# runlike myadmin                                                    
docker run --name=myadmin --env="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" --env="VERSION=4.6.6" --env="URL=https://files.phpmyadmin.net/phpMyAdmin/4.6.6/phpMyAdmin-4.6.6-all-languages.tar.gz" -p 0.0.0.0:9000:80/tcp --link /mariadbmatt:myadmin --detach