Coder Social home page Coder Social logo

Comments (4)

nickjj avatar nickjj commented on May 28, 2024 1

Hi,

Thanks, that's a good idea. Since docker compose is quite new, it might be worth waiting a little bit before making the switch because not everyone might be using the latest version of Docker.

As for docker scan, that message gets output after running a build. I think if the user wants to scan their images, they can based on seeing that. I'm reluctant to recommend that by default because you need to consent to give Snyk access to your data.

from docker-django-example.

mhmdio avatar mhmdio commented on May 28, 2024

Also, I would suggest adding

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them

from docker-django-example.

nickjj avatar nickjj commented on May 28, 2024

Docker recently released a blog post https://www.docker.com/blog/dockercon-live-2021-looking-back-at-the-new-stuff/ that recapped a few things announced at DockerCon 21. One of those things was Docker Compose v2, but it states:

Docker Compose v2 is currently available in Docker Desktop and will be included in the Docker Linux packages later in the year by default.

And currently to get this to work on Linux you need to install a Docker CLI plugin manually (this is the thing that'll be the default later this year without needing to do this step).

With that in mind it'll be a while before I move all of the documentation and run script over to use the compose sub-command, but with that said if you have access to it today you can use it. The only change is swapping docker-compose with docker compose.

from docker-django-example.

nickjj avatar nickjj commented on May 28, 2024

Docker Compose v2 has been generally available now since April 2022.

Docker has fixed a few YAML parsing bugs in it and now it's compatible with this repo.

I'm going to close this issue since v2 (running docker compose instead of docker-compose) is fully compatible with no changes having to have been made on this repo's end.

The docs still point to using docker-compose because the story for using docker compose on Linux without Docker Desktop is still very new and I want to make sure everyone using this project can easily get things running on any environment.

from docker-django-example.

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.