Comments (9)
Please post your docker-compose.yml
.
Make sure all config files are available.
Then run these commands to view debug message:
$ docker-compose run --rm pptpd sh
>>> pptpd --debug --fg
^C
>>> exit
from dockerfiles.
I download this directory on Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-34-generic x86_64)
excute
git clone https://github.com/vimagick/dockerfiles.git
cd dockerfiles/pptpd/
modprobe nf_conntrack_pptp nf_nat_pptp
docker-compose up -d
config files and docker-compose.yml is default
https://github.com/vimagick/dockerfiles/blob/master/pptpd/docker-compose.yml
there seems no debug message avaliable
~/pptpd# docker-compose run --rm pptpd sh
/ # pptpd --debug --fg
/ #
/ # exit
from dockerfiles.
I just tested on my VPS (Debian jessie + Docker 1.12.1):
$ cd ~/fig/pptpd/
$ tree
├── chap-secrets
├── docker-compose.yml
├── pptpd.conf
└── pptpd-options
$ docker-compose up -d
$ docker-compose logs -f
Attaching to pptpd_pptpd_1
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + syslogd -n -O /dev/stdout
pptpd_1 | Aug 23 02:23:03 4f9a7d5d39f5 syslog.info syslogd started: BusyBox v1.24.2
pptpd_1 | Aug 23 02:23:03 4f9a7d5d39f5 daemon.info pptpd[9]: MGR: Manager process started
pptpd_1 | Aug 23 02:23:03 4f9a7d5d39f5 daemon.info pptpd[9]: MGR: Maximum of 100 connections available
The log is sent to syslog
, so we cannot see it on screen.
from dockerfiles.
maybe version effect?
My
Docker version 1.12.1, build 23cf638
docker-compose version 1.8.0, build f3628c7
from dockerfiles.
docker-compose logs -f
Attaching to pptpd_pptpd_1
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
^CERROR: Aborting.
from dockerfiles.
It tested on other VPS (Ubuntu 14.04.1 + Docker 1.12.0).
$ docker-compose up -d
$ docker-compose logs -f
Attaching to pptpd_pptpd_1
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_1 | + syslogd -n -O /dev/stdout
pptpd_1 | Aug 23 02:35:45 ae4bd7dfc289 syslog.info syslogd started: BusyBox v1.24.2
from dockerfiles.
ok ,I will try 14.04
from dockerfiles.
same issue.but i find another docker container works.
from dockerfiles.
Please reopen the issue if you have any question.
from dockerfiles.
Related Issues (20)
- Getting error - Back-off restarting failed container
- json-server: takes 10s to shut down HOT 2
- Publish/Document/etc Scrapyd ARM HOT 6
- urlwatch: cannot import name 'etree' from 'lxml'
- Can't use ES6 import file
- Request : dokerfile for mtn
- urlwatch - module xmpp reporter missing HOT 1
- urlwatch missing module: pyppeteer and others HOT 1
- Container Restarts Repeatedly HOT 3
- Request: Hillstone VPN
- [Feature Request] Ability to Ignore a Entry
- openconnect: use official package from Alpine HOT 1
- dnsmasq: update to 2.86 HOT 1
- Background command linux
- Unable to reach remote machines from Kubernetes pods using strongswan IPsec tunnel
- module xmpp reporter not installed HOT 2
- dnsmasq: update to 2.89 HOT 1
- Privoxy Fatal error: can't load re_filterfile '/etc/privoxy/default.filter': Invalid argument HOT 2
- openssh - root login will not work with no password HOT 1
- Request: dante ARM64/aarch64 v8 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.