langdon / summit-2015-lab-15812

Containerizing applications, existing and new
1 stars 1 forks source link

error on lab 3 #44

Closed scollier closed 9 years ago

scollier commented 9 years ago

atomic run mariadb

docker run -d -v /mysql:/var/lib/mysql --name mariadb -e DBUSER= -e DBPASS={} -e DBNAME= -e NAME=mariadb -e IMAGE=mariadb mariadb db53591618a04753278f3b9a058b2431574e2ee99ef3c9030d8c926ebef93925 [root@summit-rhel-dev workspace]# [root@summit-rhel-dev workspace]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [root@summit-rhel-dev workspace]#

docker ps -l

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES db53591618a0 mariadb:latest "/bin/bash /scripts/ 25 seconds ago Exited (1) 23 seconds ago mariadb
[root@summit-rhel-dev workspace]# docker logs db5 ++ dirname /scripts/start.sh

The latest information about mysql_install_db is available at https://mariadb.com/kb/en/installing-system-tables-mysql_install_db