Docker Community Forums

Share and learn in the Docker community.

Issue with MySQL

Hi guys, I’m having some problems using the docker with mysql when I try to create a container it returns me a json with a errors below:

Docker run

docker run
–name gsd-db
-e MYSQL_USER=gsd-db
-d mysql


“errors”: [
“message”: “authentication required”,
“detail”: [
“Type”: “repository”,
“Class”: “”,
“Name”: “library/mysql”,
“Action”: “pull”

I tried everything before I came here,
if anyone can help me with this issue I am very grateful!