GithubHelp home page GithubHelp logo

Comments (5)

danieltomasz avatar danieltomasz commented on May 27, 2024 1

Yes, regarding the latest error, it was network problems on my side (university vpn I was on), I figured after posting but I didnt have time to reply; Everything works now! :)

Regarding docker compose from command line that I posted earlier I am using 2.18.1>2.10 which was released last month). Brew also list this version as its formula https://github.com/Homebrew/homebrew-core/blob/master/Formula/docker-compose.rb

docker compose is meant to be linux only tool as it specified in the documentation here, syntax issue regarding docker compose vs docker-compose might be some peculiarity of installing it as a plugin on macos

I might close this issue, but maybe other macos users can confirm if they can use docker compose vs docker-compose

from analytical_dp_with_sql.

danieltomasz avatar danieltomasz commented on May 27, 2024 1

Ok I did quick search, Docker Desktop on Mac is shipping with docker compose and thus command docker compose is valid

brew install docker docker-compose install only command-line tools (latest version), but docker compose need to be accessed via docker-compose as a plugin
(later edit)
to use docker compose' , 'docker-compose' need to be symlinked after installing via homebrew`

Compose is now a Docker plugin. For Docker to find this plugin, symlink it:
  mkdir -p ~/.docker/cli-plugins
  ln -sfn /opt/homebrew/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose

from analytical_dp_with_sql.

josephmachado avatar josephmachado commented on May 27, 2024

Hi @danieltomasz Thank you for opening the issue. May I ask what your docker compose version is?

From the error, it looks like the command docker compose up -d --build is not working. Which indicates that the docker compose may be at fault here.

You will need to have docker compose v2 for this command to run, you can check the compose version as follows

➜  analytical_dp_with_sql git:(main) docker compose version
Docker Compose version v2.10.2

Please lmk what your version of docker compose is.

from analytical_dp_with_sql.

danieltomasz avatar danieltomasz commented on May 27, 2024
docker-compose --version
Docker Compose version 2.18.1

but

docker compose --version
Docker version 24.0.2, build cb74dfcd85

The fix was to use docker-compose instead of docker compose
but then the error

 make up
docker volume rm --force minio-data
minio-data
docker-compose up -d --build
[+] Running 5/5
 ✘ hive-metastore Error                                                   30.0s
 ✘ trino-coordinator Error                                                20.1s
 ✘ mariadb Error                                                          20.1s
 ✘ createbuckets Error                                                    20.1s
 ✘ minio Error                                                            20.1s
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.107.1:53: read udp 192.168.107.2:54945->192.168.107.1:53: i/o timeout
make: *** [up] Error 18

from analytical_dp_with_sql.

josephmachado avatar josephmachado commented on May 27, 2024

Please use Docker Compose version v2 as mentioned in the README. Docker compose v1 will not receive updates.

You are using the older version of docker compose.

As for the connection issue, can you

  1. Try restarting docker
  2. Allowing this connection if you are using a firewall

from analytical_dp_with_sql.

Related Issues (7)

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.