Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspect_network version<1.21 #4

Open
dd404x opened this issue Sep 1, 2018 · 0 comments
Open

inspect_network version<1.21 #4

dd404x opened this issue Sep 1, 2018 · 0 comments

Comments

@dd404x
Copy link

dd404x commented Sep 1, 2018

root@ubuntu:/home/v0benv/vulnerable-node# docker-compose build && docker-compose up
Building postgres_db
ERROR: client and server don't have same version (client : 1.21, server: 1.18)
root@ubuntu:/home/v0benv/vulnerable-node# export COMPOSE_API_VERSION=1.18 root@ubuntu:/home/v0benv/vulnerable-node# docker-compose build && docker-compose up
Building postgres_db
Step 0 : FROM library/postgres
---> 0e216ea7ceac
.....
Successfully built 700673523e55
Traceback (most recent call last):
File "", line 3, in
File "compose/cli/main.py", line 61, in main
File "compose/cli/main.py", line 113, in perform_command
File "compose/cli/main.py", line 835, in up
File "compose/project.py", line 374, in up
File "compose/project.py", line 415, in initialize
File "compose/network.py", line 162, in initialize
File "compose/network.py", line 47, in ensure
File "compose/network.py", line 82, in inspect
File "site-packages/docker/utils/decorators.py", line 32, in wrapper
docker.errors.InvalidVersion: inspect_network is not available for version < 1.21
docker-compose returned -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant