Welcome to the Linux Foundation Forum!

LFS261-Lab3 : Error maven image

When I execute this:
docker container run --rm -it -v /home/student/hellocd:/appmaven:3.8-openjdk-17-slim sh

I get this error:
see the screeanshot attached

is there another way ?

Best Answers

  • Posts: 2,434
    Answer ✓

    Hi @zdesign,

    The error is caused by a typo in your command.
    There should be a space between the target of the volume mount /app and the image name maven:3.8-openjdk-17-slim.

    Regards,
    -Chris

  • Posts: 2
    Answer ✓

    Oh my God :D
    It's okay.
    Problem resolved

    Thank you @chrispokorni

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training