Comments (3)
Probably because env's required by your docker client needs more parameters than the ones provided. First, don't avoid checking for errors here, probably it'll tell you why is this happening: https://github.com/gzoller/portster/blob/master/portster.go#L25
. And then, try to propate every env in your container to you process with this:
#!/usr/bin/with-contenv sh
export DOCKER_CERT_PATH=/mnt/certs
export DOCKER_HOST=tcp://$HOST_IP:2376
/usr/local/bin/portster
from s6-overlay.
Probably because HOME
is not set: https://github.com/fsouza/go-dockerclient/blob/master/external/github.com/docker/docker/pkg/homedir/homedir.go#L10-L30
from s6-overlay.
Yep, the with-contenv did the trick. Thanks!
from s6-overlay.
Related Issues (20)
- Base dependency clarification HOT 8
- Clarification about CMD & STDOUT HOT 9
- Marking a longrun service as up or down before boot HOT 9
- Non-Zero PID false positive in Hashicorp Nomad HOT 6
- /etc/s6-overlay/s6-rc.d executing before /etc/cont-init.d scripts complete. HOT 2
- container doesn't exit on `sigint` (ctrl+c) in interactive mode running php-fpm with `CMD` HOT 2
- Option for non blocking s6-log? HOT 2
- Long container stop time HOT 7
- ECS Fargate HOT 8
- Documentation / missing s6-test from v3.1.3.0 HOT 3
- /init hangs when starting a container using non-native image (QEMU) HOT 7
- Best practice for readiness notification based on stdout? HOT 12
- /init file missing in releases aarch64 and x86_64 v3.1.5.0 causing the container to fail HOT 7
- how to determine oneshot process is successful or not ? HOT 3
- Best way to restart the container if oneshot fails ? HOT 2
- Is there a way to create and start up new services in v3 after the container is running? HOT 2
- Log File Renaming? HOT 5
- Is there a way prevent unlimited service restarts HOT 2
- Is there a way to delay service shutdown? HOT 2
- `S6_CMD_WAIT_FOR_SERVICES=1` makes no diference HOT 15
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 s6-overlay.