Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

348
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!