라벨이 mysql인 게시물 표시

Run MySQL & phpMyAdmin using Docker

#pull mysql [root@localhost ~]# docker pull mysql:8.0.1 Trying to pull repository docker.io/library/mysql ... 8.0.1: Pulling from docker.io/library/mysql 9f0706ba7422: Pull complete 2290e155d2d0: Pull complete 547981b8269f: Pull complete 2c9d42ed2f48: Pull complete 55e3122f1297: Pull complete abc10bd84060: Pull complete 944b75db8d03: Pull complete f487620dc272: Pull complete c3634e34a659: Pull complete 64579c8234d0: Pull complete d1969b07cc6e: Pull complete Digest: sha256:afd6d4d8182d7541f64ce2e5b7407a1c79996b1142bf9405e9d1d82922e42a31 Status: Downloaded newer image for docker.io/mysql:8.0.1 #start mysql [root@localhost ~]# docker run --name my-own-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mypass123 -d mysql:8.0.1 fd26d8eaa083c6242d2d85060c46d61f1f8d8d79dfb634342964a9a7e71d5a16 #pull phpmyadmin [root@localhost ~]# docker pull phpmyadmin/phpmyadmin:latest Trying to pull repository docker.io/phpmyadmin/phpmyadmin ... latest: Pulling from docker.io/phpmyadmi

starting superset, mysql, redis

이미지
docker상에서  superset(server-worker), mysql, redis  분산 실행  ## Environment     centos 7.6     docker 1.13.1 ## architecture ## starting mysql [root@kylin docker-files]# docker run --name mysql --rm --env-file .env -d -p 3306:3306 docker.io/mysql:5.7 d399db893198be4ef8cea8b47dbbd27357795bec7b5d1426dc0ea63a6fb20d33 [root@kylin docker-files]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d399db893198 docker.io/mysql:5.7 "docker-entrypoint..." 5 seconds ago Up 4 seconds 0.0.0.0:3306->3306/tcp, 33060/tcp mysql [root@kylin docker-files]# [root@kylin docker-files]# docker inspect d399db893198 "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "Network