[GH-ISSUE #182] can this image support containerd? #167

Closed
opened 2026-03-02 07:44:24 +03:00 by kerem · 3 comments
Owner

Originally created by @zhipengzuo on GitHub (Apr 16, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/182

Hi when i run fcojean/l2tp-ipsec-vpn-server with containerd,some error occurs:
This script should ONLY be run in a Docker container! Aborting.

Could this image can support containerd? thanks.

Originally created by @zhipengzuo on GitHub (Apr 16, 2020). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/182 Hi when i run fcojean/l2tp-ipsec-vpn-server with containerd,some error occurs: This script should ONLY be run in a Docker container! Aborting. Could this image can support containerd? thanks.
kerem closed this issue 2026-03-02 07:44:24 +03:00
Author
Owner

@zhipengzuo commented on GitHub (Apr 17, 2020):

when i remove exiterr "This script ONLY runs in a Docker container." this line in run.sh and rebuild this image ,it's ok to run in containerd in test env .

<!-- gh-comment-id:615002500 --> @zhipengzuo commented on GitHub (Apr 17, 2020): when i remove exiterr "This script ONLY runs in a Docker container." this line in run.sh and rebuild this image ,it's ok to run in containerd in test env .
Author
Owner

@hwdsl2 commented on GitHub (Apr 18, 2020):

@zhipengzuo Hello! Thank you for the suggestion. There is not an easy way to identify containerd from inside a container. I would suggest that you continue to work around this by building your customized version [1] of the Docker image, as you mentioned.

[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#build-from-source-code

<!-- gh-comment-id:615971600 --> @hwdsl2 commented on GitHub (Apr 18, 2020): @zhipengzuo Hello! Thank you for the suggestion. There is not an easy way to identify containerd from inside a container. I would suggest that you continue to work around this by building your customized version [1] of the Docker image, as you mentioned. [1] https://github.com/hwdsl2/docker-ipsec-vpn-server#build-from-source-code
Author
Owner

@zhipengzuo commented on GitHub (Apr 19, 2020):

@zhipengzuo Hello! Thank you for the suggestion. There is not an easy way to identify containerd from inside a container. I would suggest that you continue to work around this by building your customized version [1] of the Docker image, as you mentioned.

[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#build-from-source-code

Sure.Thanks.

<!-- gh-comment-id:616012154 --> @zhipengzuo commented on GitHub (Apr 19, 2020): > @zhipengzuo Hello! Thank you for the suggestion. There is not an easy way to identify containerd from inside a container. I would suggest that you continue to work around this by building your customized version [1] of the Docker image, as you mentioned. > > [1] https://github.com/hwdsl2/docker-ipsec-vpn-server#build-from-source-code Sure.Thanks.
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/docker-ipsec-vpn-server#167
No description provided.