-
Notifications
You must be signed in to change notification settings - Fork 188
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
[#239] Migrate to docker compose V2 #240
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ -z ${DOCKER_COMPOSE} ]]; then
DOCKER_COMPOSE="docker --log-level error compose"
fi
dockerCompose=${DOCKER_COMPOSE}
echo
echo "Using: ${dockerCompose}"
echo
Can be simplified to:
dockerCompose=${DOCKER_COMPOSE:-docker --log-level error compose}
The echo was a debug statement I accidentally left in some time ago.
ok, done |
You can remove the echo as well:
|
Signed-off-by: Thomas Diesler <tdiesler@redhat.com>
|
Nevermind -- still getting an issue, but it is not that. I just realize that I was using the "test" sub-command and not "run". Doh... |
OK -- I think this issue is real :-). I'm getting an error starting the services -- unknown option. I'm looking into it, but if you know anything offhand... Thanks!
|
@swcurran, I think you need to delete the existing instance (download) of von-network from you're |
Still getting the same error. The error is in the I'm using Docker version 20.10.21, build baeda1f Is that the issue? |
Try getting the latest of |
Further testing on Linux, Ubuntu 20.04, has reveled the docker compose changes have not made it to the Linux platform yet. Changes being revered; #241 |
How about this on Ubuntu ...
Anyway, I'll fix it - there are perhaps other distros that are not ready yet. |
Weird. That did work! I had previously run these commands:
I can't see the output of command 1665, but I swear that "compose" wasn't there. But it was in 1668, so I probably missed it. Sorry for the confusion... |
@WadeBarnes -- I was able to use the V2 style of |
[bcgov#239] Migrate to docker compose V2
Signed-off-by: Thomas Diesler tdiesler@redhat.com