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

  • chrispokorni
    chrispokorni Posts: 2,372
    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

  • zdesign
    zdesign Posts: 2
    Answer ✓

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

    Thank you @chrispokorni

Answers

Categories

Upcoming Training