centurylinklabs / ctlc-docker-ambassador Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello,
would it be difficult to implement SSL on top of this?
as explained here:
http://www.dest-unreach.org/socat/doc/socat-openssltunnel.html
If I follow the example shown in the readme, I get the following output:
docker run --rm --link something:something --name something_ambassador -p 5000:5000 ctlc/ambassador
2014-04-09 16:22:43,576 CRIT Supervisor running as root (no user in config file)
2014-04-09 16:22:43,576 WARN Included extra file "/etc/supervisor/conf.d/supervisord-socat.conf" during parsing
2014-04-09 16:22:43,592 INFO RPC interface 'supervisor' initialized
2014-04-09 16:22:43,592 WARN cElementTree not installed, using slower XML parser for XML-RPC
2014-04-09 16:22:43,592 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2014-04-09 16:22:43,592 INFO supervisord started with pid 1
2014-04-09 16:22:44,595 INFO spawned: 'socat' with pid 7
2014-04-09 16:22:44,602 INFO exited: socat (exit status 0; not expected)
2014-04-09 16:22:45,606 INFO spawned: 'socat' with pid 18
2014-04-09 16:22:45,613 INFO exited: socat (exit status 0; not expected)
2014-04-09 16:22:45,615 CRIT reaped unknown pid 24)
2014-04-09 16:22:45,617 CRIT reaped unknown pid 27)
2014-04-09 16:22:45,619 CRIT reaped unknown pid 25)
2014-04-09 16:22:45,620 CRIT reaped unknown pid 26)
2014-04-09 16:22:45,620 CRIT reaped unknown pid 23)
2014-04-09 16:22:45,620 CRIT reaped unknown pid 28)
2014-04-09 16:22:47,632 INFO spawned: 'socat' with pid 29
2014-04-09 16:22:47,641 INFO exited: socat (exit status 0; not expected)
2014-04-09 16:22:47,642 CRIT reaped unknown pid 35)
2014-04-09 16:22:47,642 CRIT reaped unknown pid 38)
2014-04-09 16:22:47,643 CRIT reaped unknown pid 39)
2014-04-09 16:22:47,645 CRIT reaped unknown pid 34)
2014-04-09 16:22:47,645 CRIT reaped unknown pid 36)
2014-04-09 16:22:47,645 CRIT reaped unknown pid 37)
2014-04-09 16:22:50,665 INFO spawned: 'socat' with pid 40
2014-04-09 16:22:50,673 INFO exited: socat (exit status 0; not expected)
2014-04-09 16:22:50,676 INFO gave up: socat entered FATAL state, too many start retries too quickly
2014-04-09 16:22:50,677 CRIT reaped unknown pid 45)
2014-04-09 16:22:50,678 CRIT reaped unknown pid 47)
2014-04-09 16:22:50,678 CRIT reaped unknown pid 48)
2014-04-09 16:22:50,678 CRIT reaped unknown pid 50)
2014-04-09 16:22:50,680 CRIT reaped unknown pid 46)
2014-04-09 16:22:50,680 CRIT reaped unknown pid 49)
I imagine it's failing because even if I attempt to run the env | grep _TCP= | sed 's/.*_PORT_\([0-9]*\)_TCP=tcp:\/\/\(.*\):\(.*\)/socat -ls TCP4-LISTEN:\1,fork,reuseaddr TCP4:\2:\3 \&/' | sh
command within the container, it produces:
sh: 1: socat: not found
sh: 2: socat: not found
sh: 3: socat: not found
Any suggestions?
Hello,
would it be difficult to implement SSL on top of this?
as explained here:
http://www.dest-unreach.org/socat/doc/socat-openssltunnel.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.