Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

353
Vistas
Unknown shorthand flag: 'd' in -d

I am trying to pull a docker image using the following command. It was suggested that I run this as a guide for docker config at my workplace.

Tried removing the -d out of the command, but now I get same error but with -name instead. I am using a Mac and I run the command on the terminal.

docker pull mysql/mysql-server:5.7docker run -d --name=dev-mysql -p3306:3306 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ROOT_HOST=% mysql/mysql-server:5.7 --secure-file-priv=""

I expect the image to be downloaded. But instead I get the mentioned error.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Your command is two separated commands.

Try this (it will download the image):

docker pull mysql/mysql-server:5.7

Then (it will run the container):

docker run -d --name=dev-mysql -p3306:3306 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ROOT_HOST=% mysql/mysql-server:5.7 --secure-file-priv=""
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda