Comments (4)
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.
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.
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.
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)
- New project name psql role doesn't exist HOT 5
- ERROR: Service 'css' failed to build : COPY failed: forbidden path outside the build context: HOT 4
- Celery worker crashes HOT 2
- adding separate frontend spa (react/vue/etc) HOT 5
- Service 'worker' failed to build : Build failed HOT 2
- tailwindcss --watch is not detecting changes HOT 8
- Update README.md about need to "chown 1000 ./public*" HOT 5
- Double public and public_collected directories HOT 6
- freeze no longer used. HOT 1
- unbound variable HOT 13
- HTML templates reloading issue (TailwindCSS) HOT 31
- IPDB debugging HOT 4
- Code reloading stopped working consistently when updating HTML templates HOT 4
- docker compose build : Unable to locate package build-essential HOT 3
- Add `LOG_LEVEL` env var? HOT 3
- Getting Server Error (500) on debug=false on env file HOT 3
- Updating dependencies during development HOT 2
- Any interest in adding Sentry and/or Mailhog services? HOT 4
- [Error: EACCES: permission denied, mkdir '/app/public/css'] HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-django-example.