Comments (7)
I understand, but opening "all" ports (or more) will take a long time, so the range is some sort of a compromise between having enough ports and letting the container start within some sort of reasonable time frame. I don't really know what the best behaviour is here and you have a solution at hand (even though I admit it is a bit confusing...).
Extra thoughts?
from rsshd.
Yeah. I could work with --net=host and move the sshd to another port. I'll check that.
from rsshd.
I tried to run my docker with
docker run -it --rm --net=host --name rsshd -e PASSWORD=secret -v /data/rsshd/keys:/etc/ssh/keys -v /data/clients:/root/.ssh efrecon/rsshd -d -d -d -p 22222
but the -d -d -d
and also the -p 22222
do not seem to reach the sshd arguments.
from rsshd.
hm.. Will have to look into this in more details then. You are welcome to debug if you want, arguments from the command should be passed to sshd
as the last line of the entrypoint called sshd.sh
.
from rsshd.
Yeah I have seen that. Just a simple echo "$@"
at the beginning of the sshd.sh
will not show anything. I wonder if there is anything wrong with my installation.
from rsshd.
The arguments don't work on my Synology as well as my MacBook. I'll just build my own docker to my specific needs.
from rsshd.
BTW: Exposing all ports (1-65535) works just fine and fast. As long as you don't -p
them all, there is nothing wrong with this.
BTW2: ENV ARGS also works nice for me.
I can put it in a PR if you like. But I can also just fork it and roll my own ;-)
from rsshd.
Related Issues (4)
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 rsshd.