dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

(MacOS) PPTP Client: Couldn't open the /dev/ppp device: No such file or directory

Open keniobats opened this issue 3 years ago • 4 comments

Hello!

I'm using MacOS Big Sur, docker desktop 3.5.2, docker engine 20.10.7. Used your docker-compose file as is(with my credentials and server ip addres) and got this error:

[+] Running 1/1 â ¿ Container vpn_client_pptp_1 Started 1.2s Attaching to pptp_1 pptp_1 | Couldn't open the /dev/ppp device: No such file or directory pptp_1 | /usr/sbin/pppd: You need to create the /dev/ppp device node by pptp_1 | executing the following command as root: pptp_1 | mknod /dev/ppp c 108 0 pptp_1 | pptp_1 exited with code 4

Any help will be appreciated!

keniobats avatar Aug 02 '21 13:08 keniobats

I get the same error on MacOS. Any workaround?

umar14 avatar Feb 16 '22 02:02 umar14

Hello!

I'm using MacOS Big Sur, docker desktop 3.5.2, docker engine 20.10.7. Used your docker-compose file as is(with my credentials and server ip addres) and got this error:

[+] Running 1/1 â ¿ Container vpn_client_pptp_1 Started 1.2s Attaching to pptp_1 pptp_1 | Couldn't open the /dev/ppp device: No such file or directory pptp_1 | /usr/sbin/pppd: You need to create the /dev/ppp device node by pptp_1 | executing the following command as root: pptp_1 | mknod /dev/ppp c 108 0 pptp_1 | pptp_1 exited with code 4

Any help will be appreciated!

did you solve it?

MardariG avatar Apr 05 '22 09:04 MardariG

Hi, not yet! :(

keniobats avatar Apr 05 '22 10:04 keniobats

Hi,

Im running PPTP server under proxmox then under LXC container Ubuntu 22 and when i got error "Couldn't open the /dev/ppp device: No such file or directory" and "You need to create the /dev/ppp device"

Solution: i applied this command command: "mknod /dev/ppp c 108 0" under the root and if you get error : mknod: /dev/ppp: Operation not permitted, then you need to create LXC privileged container

sec-martin avatar Jul 23 '22 13:07 sec-martin