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

Can't Get Docker Compose to Pull #27

Closed
skullswalk opened this issue Jun 19, 2019 · 4 comments
Closed

Can't Get Docker Compose to Pull #27

skullswalk opened this issue Jun 19, 2019 · 4 comments

Comments

@skullswalk
Copy link

I run the docker compose cmd in the malcolm directory (utilizing the github repo) and I get the following error:
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the serviceskey, or omit theversion key and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

When that failed I went ahead and just commented out the version in the docker-compose.yml file and ran the pull again and got this error:

ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported config option for x-common-upload-variables: 'AUTO_TAG' Unsupported config option for x-common-beats-variables: 'BEATS_SSL' Unsupported config option for x-logstash-variables: 'ES_EXTERNAL_SSL_CERTIFICATE_VERIFICATION' Unsupported config option for x-zeek-file-extraction-variables: 'EXTRACTED_FILE_START_SLEEP' Unsupported config option for x-moloch-variables: 'INITIALIZEDB' Unsupported config option for x-kibana-variables: 'KIBANA_OFFLINE_REGION_MAPS' Unsupported config option for x-pcap-capture-variables: 'PCAP_FILTER' Unsupported config option for services: 'moloch'

Please help!

@mmguero
Copy link
Collaborator

mmguero commented Jun 20, 2019

Looks to me like a version incompatibility between the docker-compose.yml format and your version of Docker compose. What do you get when you run the following few commands?

docker-compose version

which docker-compose

@skullswalk
Copy link
Author

I kind of had that feeling too, but I just wanted to run everything by you first before I started rolling back.

$ docker-compose version
docker-compose version 1.17.1, build unknown
docker-py version: 2.5.1
CPython version: 2.7.15+
OpenSSL version: OpenSSL 1.1.1  11 Sep 2018

$ which docker-compose
/usr/bin/docker-compose

@mmguero
Copy link
Collaborator

mmguero commented Jun 20, 2019

So 1.17.1 is about a year and a half old, it would appear. There are some docker-compose.yml syntax features I'm using that weren't supported at that time. I'd recommend updating docker-compose to a newer version and see if that helps.

@skullswalk
Copy link
Author

Ahh I was about to go the wrong way, so upgrading the docker-compose version did the trick. Thank you for all the help!!

@mmguero mmguero closed this as completed Jun 20, 2019
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

2 participants