Highlighted
Cadet
Cadet
  • 579 Views

Unable to create mysql container using podman

Jump to solution

I keep getting the following error when I run sudo podman run command -

 

sudo podman run --name mysql-custom \ > -e MYSQL_USER=redhat -e MYSQL_PASSWORD=r3dh4t \ > -d rhmap47/mysql:5.5

 unable to pull : error getting registries to try: invalid reference format

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Flight Engineer
Flight Engineer
  • 566 Views

Re: Unable to create mysql container using podman

Jump to solution

Hi Suhaib

Yes, this is an issue with the rendering we already saw in the past.

The issue is that:
- There should be a carry return after the `\` sign. This sign indicates the command is not yet complete and continues in the next line.

- The `>`  sign should be rendered as a "continuation prompt", indicating this is not something you should write, but something the terminal is showing.

So, as Alexandre said, please try the command without the `\>` signs.

BTW, what course and version are you finding this? We should have fixed the issue, but maybe we missed a case.

 

Kind Regards

 

Jordi Sola

  

 

View solution in original post

Reply
Loading...
4 Replies
Highlighted
Starfighter Starfighter
Starfighter
  • 574 Views

Re: Unable to create mysql container using podman

Jump to solution

Hi

Are you really type the command this way:

sudo podman run --name mysql-custom \ > -e MYSQL_USER=redhat -e MYSQL_PASSWORD=r3dh4t \ > -d rhmap47/mysql:5.5

Try

sudo podman run --name mysql-custom   -e MYSQL_USER=redhat -e MYSQL_PASSWORD=r3dh4t  -d rhmap47/mysql:5.5

 

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 567 Views

Re: Unable to create mysql container using podman

Jump to solution

Hi Suhaib

Yes, this is an issue with the rendering we already saw in the past.

The issue is that:
- There should be a carry return after the `\` sign. This sign indicates the command is not yet complete and continues in the next line.

- The `>`  sign should be rendered as a "continuation prompt", indicating this is not something you should write, but something the terminal is showing.

So, as Alexandre said, please try the command without the `\>` signs.

BTW, what course and version are you finding this? We should have fixed the issue, but maybe we missed a case.

 

Kind Regards

 

Jordi Sola

  

 

View solution in original post

Reply
Loading...
Highlighted
Cadet
Cadet
  • 549 Views

Re: Unable to create mysql container using podman

Jump to solution

Thanks for your kind help. BTW the course version 4.2, that I'm working on is DO180.

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 558 Views

Re: Unable to create mysql container using podman

Jump to solution

I'm pretty sure this is in DO180, and I only found one instance of this string (looking at the PDF file.

The actual render is correct, but Jordi is correct: The backslash char (\) means "type \ and press Enter" and the shell provides the > symbol, indicating that the command is still open.

The render is correct in the current build (see attached) so I *expect* yours should display the same way. If not, please let us know.

Thanks very much.

David

Screenshot from 2020-04-04 00-00-41.png

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.