[GH-ISSUE #32] Docker container can't restore default password #25

Closed
opened 2026-02-27 23:03:28 +03:00 by kerem · 1 comment
Owner

Originally created by @namen3645 on GitHub (Oct 15, 2023).
Original GitHub issue: https://github.com/simonmicro/Pritunl-Fake-API/issues/32

root@vultr:~/Pritunl-Fake-API-master/docker# docker exec -it docker_pritunl_1 bash pritunl default-password
/usr/bin/pritunl: line 3: import: command not found
/usr/bin/pritunl: line 4: import: command not found
/usr/bin/pritunl: line 7: requires: command not found
/usr/bin/pritunl: line 9: try:: command not found
/usr/bin/pritunl: line 10: from: command not found
/usr/bin/pritunl: line 11: except: command not found
/usr/bin/pritunl: line 12: try:: command not found
/usr/bin/pritunl: line 13: from: command not found
/usr/bin/pritunl: line 14: except: command not found
/usr/bin/pritunl: line 15: from: command not found
/usr/bin/pritunl: pritunl: line 18: syntax error near unexpected token (' /usr/bin/pritunl: pritunl: line 18: def importlib_load_entry_point(spec, group, name):'

Originally created by @namen3645 on GitHub (Oct 15, 2023). Original GitHub issue: https://github.com/simonmicro/Pritunl-Fake-API/issues/32 root@vultr:~/Pritunl-Fake-API-master/docker# docker exec -it docker_pritunl_1 bash pritunl default-password /usr/bin/pritunl: line 3: import: command not found /usr/bin/pritunl: line 4: import: command not found /usr/bin/pritunl: line 7: __requires__: command not found /usr/bin/pritunl: line 9: try:: command not found /usr/bin/pritunl: line 10: from: command not found /usr/bin/pritunl: line 11: except: command not found /usr/bin/pritunl: line 12: try:: command not found /usr/bin/pritunl: line 13: from: command not found /usr/bin/pritunl: line 14: except: command not found /usr/bin/pritunl: line 15: from: command not found /usr/bin/pritunl: pritunl: line 18: syntax error near unexpected token `(' /usr/bin/pritunl: pritunl: line 18: `def importlib_load_entry_point(spec, group, name):'
kerem closed this issue 2026-02-27 23:03:29 +03:00
Author
Owner

@simonmicro commented on GitHub (Oct 15, 2023):

You need to overwrite the entrypoint (--entrypoint), because the original creator did not only set the command.

This is due to this API using not the official container (as it did not exist back then), but instead one from the community.

<!-- gh-comment-id:1763401571 --> @simonmicro commented on GitHub (Oct 15, 2023): You need to overwrite the entrypoint (`--entrypoint`), because the original creator did not only set the command. This is due to this API using not the official container (as it did not exist back then), but instead one from the community.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Pritunl-Fake-API#25
No description provided.