Coder Social home page Coder Social logo

rdocker's People

Contributors

dvddarias avatar liberquack avatar stephen-judd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rdocker's Issues

rdocker doesn't seem to be working on mac OS X yosemite

rdocker [email protected] -v
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
usage: mkfifo [-m mode] fifoname ...
/usr/local/bin/rdocker: line 120: $PIPE: ambiguous redirect
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
/usr/local/bin/rdocker: line 128: read: 3: invalid file descriptor: Bad file descriptor
/usr/local/bin/rdocker: line 125: 3: Bad file descriptor

Scripting?

Would it be possible to make this script usable in another script? Currently this is hard, as you'd need a way to trigger the termination at the end.

TLS record error

I'm running rdocker.sh on Ubuntu 16.04 under WSL. I'm running against an Alpine Linux 3.7 host. It seems to work in most cases, however when attempting to run an interactive command, I get the error tls: oversized record received with length 20527. For example:

docker:root@alpine ben@DESKTOP-L06DUSH:~/rdocker$ docker run -it alpine ash
tls: oversized record received with length 20527

Whilst docker run alpine will complete successfully and running any command on the Alpine Linux server itself also works. Any ideas?

Multi user problem

For example we have 1 docker host, and 2 users, both want to use rdocker.
when 1st come to host - script will create a /tmp/rdocker-forwarder.py with user1 permissions. (644 in my case)
then 2nd, takes permission denied while trying to overwrite it.

My fix is to inject username to /tmp/rdocker-$USER-forwarder.py name.

http: server gave HTTP response to HTTPS client

When connecting via rdocker (from mac), the following error occur:

$ rdocker ddddddocker.aaa.com
Warning: Permanently added '[hammer-bld-00.sbg1-ovh.hskillz.net]:60022,[167.114.246.105]:60022' (RSA) to the list of known hosts.
Local docker client connected to ddddddocker.aaa.com docker daemon.
Route: localhost:53549 -> ddddddocker.aaa.com:42998
Press Ctrl+D to stop forwarding and exit the bash session.
docker:ddddddocker.aaa.com
$ docker ps -a
error during connect: Get https://localhost:53549/v1.26/containers/json?all=1: http: server gave HTTP response to HTTPS client

Not sure if this is an rdocker induced problem, or if I need to add some configuration to the remote docker service (currently 1.13.1 on ubuntu 16.04).
Thx

Can this work with sudo ?

I know you said the remote user needs to have permissions for the docker socket, but could this be changed to work if we need sudo on the remote host ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.