You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nsenter causes the container to use the File System of the host, therefore running the polycubed binary of the host. If this binary is not found on the FS of the host an error is thrown.
The last line of the Dockerfile is overridden if a command is executed when running the container, for example launching the container with the command of the documentation:
Describe the bug
As @klaalk pointed out there is a problem when running the docker container without having first installed Polycube on the host system.
To Reproduce
Run the container on a system without Polycube installed with command:
An error will be printed saying no
polycubed
binary is found.Expected behavior
Polycube should run properly
Please tell us about your environment:
Additional context
I think the problem is related with the last line of the Dockerfile:
nsenter
causes the container to use the File System of the host, therefore running the polycubed binary of the host. If this binary is not found on the FS of the host an error is thrown.The last line of the Dockerfile is overridden if a command is executed when running the container, for example launching the container with the command of the documentation:
nsenter
is not executed and the container runs the internal polycube binary.Can anyone confirm this problem? I wonder if
nsenter
can be removed safely (a comment says that it is needed for shadow services)The text was updated successfully, but these errors were encountered: