Replies: 3 comments
-
This feature is developing now, the current solution is that register each docker as one device. Keep the docker with same name, same network and same harddisk, the same device file should work. |
Beta Was this translation helpful? Give feedback.
-
The idea is that generate regfile for each host device, then run the following command in the host
Then run container with
And run the following commands inside the container
|
Beta Was this translation helpful? Give feedback.
-
It has been implemented in Pyarmor 8.2.8, refer to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The idea is
pyarmor-docker
, listen on127.0.0.1
to serve docker auth requesthost.docker.internal
to request host authRefer to how to talk to a service on localhost within docker container
Docker Desktop 18.03+ for Windows and Mac supports
host.docker.internal
as a functioning alias for localhost. Use this string inside your containers to access your host machine.Docker Engine users on Linux can enable host.docker.internal too via the --add-host flag for docker run. Start your containers with this flag to expose the host string:
Beta Was this translation helpful? Give feedback.
All reactions