{ "info": { "author": "Jiangge Zhang", "author_email": "tonyseek@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "docker-tunnel\n=============\n\n``docker-tunnel`` is a console utility to use remote docker with SSH tunnel.\n\nIf you are using OS X or a Linux distribution with docker-unsupported kernel,\nno more running a virtual machine or ssh to a remote shell.\n\n\nInstallation\n------------\n\nWith pip::\n\n $ pip install docker-tunnel\n\nWith pipsi_ (Recommended)::\n\n $ pipsi install docker-tunnel\n\n\nUsage\n-----\n\n::\n\n $ docker-tunnel user@example.com\n (user@example.com) $\n (user@example.com) $ echo $DOCKER_HOST\n 127.0.0.1:4243\n (user@example.com) $ docker ps # go ahead\n ...\n (user@example.com) $ ^D # ctrl-d\n $\n\nMore options::\n\n $ docker-tunnel --help\n\n\nShell Theme Integration\n-----------------------\n\nInside the tunnel injected shell, the environment variable ``DOCKER_HOST`` and ``DOCKER_PROMPT_INFO`` will be assigned. They can be used in your shell theme to prompt you which tunnel is using.\n\nThere is an example, `my custom theme`_ for OH-MY-ZSH.\n\n\nTroubleshooting\n---------------\n\n``Error response from daemon: client and server don't have same version (client : 1.14, server: 1.12)``\n The docker in source of CentOS 7 is using API 1.12 but the docker client in Homebrew of OS X is not. You can downgrade the docker client with Homebrew::\n\n $ brew versions docker\n ...\n 1.0.0 git checkout c513c42 /usr/local/Library/Formula/docker.rb\n ...\n $ cd /usr/local/Library/Formula # now we install the old version of docker\n $ git checkout c513c42 -- docker.rb\n $ brew unlink docker\n $ brew install docker\n $ git checkout HEAD -- docker.rb\n $ cd -\n $ brew info docker # check the installed versions and current version\n ...\n /usr/local/Cellar/docker/1.1.1 (9 files, 9.8M) *\n Poured from bottle\n /usr/local/Cellar/docker/1.2.0 (9 files, 6.6M)\n Poured from bottle\n ...\n $ docker-tunnel user@example.com\n (user@example.com) $ docker version\n Client version: 1.0.0\n Client API version: 1.12\n ...\n (user@example.com) $ exit\n $ brew switch 1.2.0 # restore to latest\n\n\n``bind: Address already in use. cannot listen to port: 4243``\n You can find out the process which held the ``4243`` port with ``sudo lsof -i :4243`` and decide to kill it or pick another port with ``--local-port``.\n\n\n``channel 1: open failed: connect failed: Connection refused. 2014/09/06 13:08:57 Get http://127.0.0.1:4243/v1.14/info: EOF``\n Does the docker server listen on ``127.0.0.1:2375``? You may have to set correct server info with ``--remote-host`` and ``--remote-port``.\n\n\nKnown Bugs\n----------\n\n- The ssh tunnel can be authenticated with public key only. The password prompt will caused a crash.\n\n\nIssues\n------\n\nIf you want to report bugs or request features, please create issues on\n`GitHub Issues `_.\n\n\n.. _pipsi: https://github.com/mitsuhiko/pipsi\n.. _`my custom theme`: https://github.com/tonyseek/oh-my-zsh-seeker-theme\n\n.. |Wheel Status| image:: https://pypip.in/wheel/docker-tunnel/badge.svg\n :target: https://warehouse.python.org/project/docker-tunnel\n :alt: Wheel Status\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/docker-tunnel.svg\n :target: https://pypi.python.org/pypi/docker-tunnel\n :alt: PyPI Version\n.. |PyPI Downloads| image:: https://img.shields.io/pypi/dm/docker-tunnel.svg\n :target: https://pypi.python.org/pypi/docker-tunnel\n :alt: Downloads", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tonyseek/docker-tunnel", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "docker-tunnel", "package_url": "https://pypi.org/project/docker-tunnel/", "platform": "Linux,Mac", "project_url": "https://pypi.org/project/docker-tunnel/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/tonyseek/docker-tunnel" }, "release_url": "https://pypi.org/project/docker-tunnel/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Using remote docker with SSH tunnel.", "version": "0.1.2" }, "last_serial": 1215648, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e9d9436fc7829b776973d1ff97549f01", "sha256": "bce21f9a5cbb3beecf65f4ecc3680aa97f1743ef8c52c9700e9462584f3b27f4" }, "downloads": -1, "filename": "docker_tunnel-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9d9436fc7829b776973d1ff97549f01", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6075, "upload_time": "2014-09-06T06:01:23", "url": "https://files.pythonhosted.org/packages/e1/51/473d5e8d8b44a673b5f2262a3e4785175e44e1d0793cb77660c5b55afb9c/docker_tunnel-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0adf6c73ab58e4ed4ccf965d528a7ffa", "sha256": "0bab3e1e6d64488b1b180e52194603fe0701f897dae8370966681188d9b0bc12" }, "downloads": -1, "filename": "docker-tunnel-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0adf6c73ab58e4ed4ccf965d528a7ffa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4237, "upload_time": "2014-09-06T06:01:19", "url": "https://files.pythonhosted.org/packages/8a/d1/6a2c6475554e23c31502e45f8a84de225a27987b25d9512342a3de029725/docker-tunnel-0.1.0.tar.gz" } ], "0.1.0.dev": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "cc5bca5593c02d8d165183cbc8e043f0", "sha256": "c3fdb9eba8f5d30dae848c4c01302d9f742fd850db1dd7e5be194b70ced1877c" }, "downloads": -1, "filename": "docker_tunnel-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc5bca5593c02d8d165183cbc8e043f0", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 6118, "upload_time": "2014-09-07T04:41:33", "url": "https://files.pythonhosted.org/packages/b4/7d/af84e62a47a771db6f873d915154b02704d1f9c40361641ebcc3c1422e67/docker_tunnel-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f21070b10514b517599efcb00280f3ac", "sha256": "7abb9336e077bf856ecc02934db6e59b8f6c05eaaa64f2be732492e370ff5251" }, "downloads": -1, "filename": "docker-tunnel-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f21070b10514b517599efcb00280f3ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4339, "upload_time": "2014-09-07T04:41:29", "url": "https://files.pythonhosted.org/packages/01/15/ea343704e1462df9b3edd1f08b7f36ec27aa0b4a24fa992f2ea8949987c2/docker-tunnel-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "713b91a0d5e7d00b7d7704fdea004c21", "sha256": "8241a5833c176f4a1de6aadf74d3e2b42bb2bc82f0cb6c6885d60720d9f0d4ac" }, "downloads": -1, "filename": "docker_tunnel-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "713b91a0d5e7d00b7d7704fdea004c21", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6186, "upload_time": "2014-09-07T06:17:57", "url": "https://files.pythonhosted.org/packages/f1/e6/c5a41cdd3eb3b8f8b60a9096b891c670c9b6042e4323ac8a70627caf715b/docker_tunnel-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee719ff91550a29f48273d3d0c8f12df", "sha256": "ef4a3c61ff83aed3962ab24379291b52b6fb389cc0126027efeafaf1c6ead7ec" }, "downloads": -1, "filename": "docker-tunnel-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ee719ff91550a29f48273d3d0c8f12df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4406, "upload_time": "2014-09-07T06:17:52", "url": "https://files.pythonhosted.org/packages/d5/cd/d34d87d14f65ddb97e52caa252abfcf7dc293a2518f6f32fc00752aa346f/docker-tunnel-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "713b91a0d5e7d00b7d7704fdea004c21", "sha256": "8241a5833c176f4a1de6aadf74d3e2b42bb2bc82f0cb6c6885d60720d9f0d4ac" }, "downloads": -1, "filename": "docker_tunnel-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "713b91a0d5e7d00b7d7704fdea004c21", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6186, "upload_time": "2014-09-07T06:17:57", "url": "https://files.pythonhosted.org/packages/f1/e6/c5a41cdd3eb3b8f8b60a9096b891c670c9b6042e4323ac8a70627caf715b/docker_tunnel-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee719ff91550a29f48273d3d0c8f12df", "sha256": "ef4a3c61ff83aed3962ab24379291b52b6fb389cc0126027efeafaf1c6ead7ec" }, "downloads": -1, "filename": "docker-tunnel-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ee719ff91550a29f48273d3d0c8f12df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4406, "upload_time": "2014-09-07T06:17:52", "url": "https://files.pythonhosted.org/packages/d5/cd/d34d87d14f65ddb97e52caa252abfcf7dc293a2518f6f32fc00752aa346f/docker-tunnel-0.1.2.tar.gz" } ] }