VCityTeam / TunNetGen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker documentation seems to fail for sh execution

EricBoix opened this issue · comments

The PureCPP docker usage documentation proposes the command

docker run --rm -it -v $(pwd)/data:/TunNetGenCpp/output vcity/tunnetgencpp:latest sh

that fails (Docker version 24.0.7) with the message

The following argument was not expected: sh

This is probably because the Dockerfile defines an ENTRYPOINT in which case overriding the default command has to be done with e.g.

docker run --rm -it -v $(pwd)/data:/TunNetGenCpp/output --entrypoint sh  vcity/tunnetgencpp:latest