GithubHelp home page GithubHelp logo

docker-replay's People

Contributors

bcicen 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  avatar  avatar  avatar  avatar  avatar

docker-replay's Issues

docker-replay generates both --hostname and --uts host options

When run against a container that was started in --uts host mode, docker-replay will generate a command line that contains both the --hostname and --uts host arguments. These options to the Docker CLI are incompatible and attempting to specify a hostname when running with --uts host will result in a fatal error.

Log config is null

On my docker instance, most of my containers have this in their inspect:

            "LogConfig": {
                "Type": "db",
                "Config": null
            }

When running these containers on docker-replay, I get an AttributeError:

Traceback (most recent call last):
  File "/opt/bin/docker-replay", line 11, in <module>
    sys.exit(main())
  File "/opt/lib/python2.7/site-packages/docker_replay/__init__.py", line 49, in main
    print(DockerReplay(args.container, args.pretty_print))
  File "/opt/lib/python2.7/site-packages/docker_replay/__init__.py", line 21, in __init__
    self.parser = OptionParser(inspect)
  File "/opt/lib/python2.7/site-packages/docker_replay/opts.py", line 14, in __init__
    self.read_opts()
  File "/opt/lib/python2.7/site-packages/docker_replay/opts.py", line 23, in read_opts
    self.opts += list(build_opt(o_type, o_name, self.get(o_key)))
  File "/opt/lib/python2.7/site-packages/docker_replay/models.py", line 9, in build_opt
    for k,v in o_val.items():
AttributeError: 'NoneType' object has no attribute 'items'

command not found after pip install docker-replay

Under Ubuntu 17.10 I tried to install docker-replay using pip install docker-replay which leads to the following output:

pip install docker-replay
Collecting docker-replay
  Using cached docker_replay-1.2-py2.py3-none-any.whl
Collecting docker>=2.4.2 (from docker-replay)
  Using cached docker-2.7.0-py2.py3-none-any.whl
Collecting docker-pycreds>=0.2.1 (from docker>=2.4.2->docker-replay)
  Using cached docker_pycreds-0.2.1-py2.py3-none-any.whl
Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from docker>=2.4.2->docker-replay)
Collecting ipaddress>=1.0.16; python_version < "3.3" (from docker>=2.4.2->docker-replay)
Collecting requests!=2.18.0,>=2.14.2 (from docker>=2.4.2->docker-replay)
  Using cached requests-2.18.4-py2.py3-none-any.whl
Collecting six>=1.4.0 (from docker>=2.4.2->docker-replay)
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting websocket-client>=0.32.0 (from docker>=2.4.2->docker-replay)
  Using cached websocket_client-0.46.0-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests!=2.18.0,>=2.14.2->docker>=2.4.2->docker-replay)
  Using cached idna-2.6-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests!=2.18.0,>=2.14.2->docker>=2.4.2->docker-replay)
  Using cached urllib3-1.22-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests!=2.18.0,>=2.14.2->docker>=2.4.2->docker-replay)
  Using cached certifi-2017.11.5-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests!=2.18.0,>=2.14.2->docker>=2.4.2->docker-replay)
  Using cached chardet-3.0.4-py2.py3-none-any.whl
Installing collected packages: six, docker-pycreds, backports.ssl-match-hostname, ipaddress, idna, urllib3, certifi, chardet, requests, websocket-client, docker, docker-replay
Successfully installed backports.ssl-match-hostname-3.5.0.1 certifi-2017.11.5 chardet-3.0.4 docker-2.7.0 docker-pycreds-0.2.1 docker-replay-1.2 idna-2.6 ipaddress-1.0.19 requests-2.18.4 six-1.11.0 urllib3-1.22 websocket-client-0.46.0

When running docker-replay -p <containerid> I get docker-replay: command not found

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.