Docker da phpmyadmin kurarken linklemede bir hata yapmışım, karşılaştığım hata şöyle:

docker ps

36f17cec8074 nginx “nginx -g ‘daemon …” 15 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx
c446e551ce08 srv_web_fpm “/entrypoint.sh ph…” 15 minutes ago Up 15 minutes 9000/tcp phpfpm
00f22cece4a9 mariadb:latest “docker-entrypoint…” 15 minutes ago Up 15 minutes 3306/tcp mariadb

docker run --name phpma -d --link mysql_db_server:web_db -p 8000:80 phpmyadmin/phpmyadmin


docker: Error response from daemon: Could not get container for mysql_db_server.
See ‘docker run –help’.

Doğru komut şöyle olacaktı:

docker run --name phpma -d --link mariadb:db -p 8000:80 phpmyadmin/phpmyadmin
Tagged:

Leave a Reply

Your email address will not be published.