Code Monkey home page Code Monkey logo

Comments (3)

ljwango avatar ljwango commented on August 18, 2024

Unexpected error! This may be a Blockade bug.

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/blockade-0.2.0-py2.7.egg/blockade/cli.py", line 326, in main
opts.func(opts)
File "/usr/local/lib/python2.7/dist-packages/blockade-0.2.0-py2.7.egg/blockade/cli.py", line 122, in cmd_up
force=opts.force)
File "/usr/local/lib/python2.7/dist-packages/blockade-0.2.0-py2.7.egg/blockade/core.py", line 81, in create
container_id = self._start_container(blockade_id, container, force)
File "/usr/local/lib/python2.7/dist-packages/blockade-0.2.0-py2.7.egg/blockade/core.py", line 145, in _start_container
container_id = create_container()
File "/usr/local/lib/python2.7/dist-packages/blockade-0.2.0-py2.7.egg/blockade/core.py", line 140, in create_container
labels={"blockade.id": blockade_id})
File "/usr/local/lib/python2.7/dist-packages/docker_py-1.6.0-py2.7.egg/docker/api/container.py", line 117, in create_container
return self.create_container_from_config(config, name)
File "/usr/local/lib/python2.7/dist-packages/docker_py-1.6.0-py2.7.egg/docker/api/container.py", line 128, in create_container_from_config
return self._result(res, True)
File "/usr/local/lib/python2.7/dist-packages/docker_py-1.6.0-py2.7.egg/docker/client.py", line 146, in _result
self._raise_for_status(response)
File "/usr/local/lib/python2.7/dist-packages/docker_py-1.6.0-py2.7.egg/docker/client.py", line 141, in _raise_for_status
raise errors.NotFound(e, response, explanation=explanation)
NotFound: 404 Client Error: Not Found ("client and server don't have same version (client : 1.21, server: 1.12)")

from blockade.

labisso avatar labisso commented on August 18, 2024

Hello, please try with Docker version 1.9 or later.

I'm leaving this issue open because 1) Blockade probably doesn't need to actually require 1.9 and 2) we should handle this failure more gracefully.

from blockade.

labisso avatar labisso commented on August 18, 2024

Closing this issue. In 0.3.1, blockade has a couple of fixes that address problems discussed here:

  1. Vastly improved error handling around finding a container's interface
  2. ip is no longer required to be installed in containers. Instead Blockade directly reads the /sys FS to find the needed information from the container.

from blockade.

Related Issues (20)

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.