docker-compose-wait
docuum
docker-compose-wait | docuum | |
---|---|---|
5 | 6 | |
1,588 | 560 | |
- | - | |
5.5 | 7.7 | |
4 months ago | 27 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-compose-wait
-
Azure CD via Pipelines/Docker
FROM wordpress:cli # Install make tool USER root RUN apk add --no-cache make # Make docker-compose wait for container dependencies be ready # Add the wait script to the image ENV WAIT_VERSION 2.7.2 ADD https://github.com/ufoscout/docker-compose-wait/releases/download/$WAIT_VERSION/wait /wait RUN chmod +x /wait # Add Makefile to scripts dir ADD Makefile entrypoint.sh /scripts/ RUN chmod +x /scripts/entrypoint.sh ENTRYPOINT [ "/scripts/entrypoint.sh" ] USER 33:33 CMD ["wp", "shell"]
- Any easy way to wait for dependend on containers to actually be ready in docker-compose?
- How to NOT expose a container until everything is built?
-
Integration testing with EF Core, part 1
FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build WORKDIR /src # Get connection string argument from docker compose and set it as an environment variable ARG connection_string ENV ConnectionStrings__Database=${connection_string} # Standard docker build COPY ["tests/Integration.Tests/Integration.Tests.csproj", "Integration.Tests/"] RUN dotnet restore "Integration.Tests/Integration.Tests.csproj" COPY . . WORKDIR "Integration.Tests" # Restore the dotnet-ef command RUN dotnet tool restore RUN dotnet build "Integration.Tests.csproj" -c Release -o /app/build # Install docker-compose-wait to make sure the db server is up & running before moving on ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.5.0/wait /wait RUN chmod +x /wait # Wait for sql server and then migrate the db and run tests CMD /wait && dotnet ef database update --context MyDbContext && dotnet test --no-build
-
How to make sure that the container only starts if Redis and PSQL are ready to accept connections?
If youre using docker-compose, I can recommend https://github.com/ufoscout/docker-compose-wait
docuum
-
PSA - Run "docker image prune" once in a while.
Or let docuum do the job for you, based on storage threshold. https://github.com/stepchowfun/docuum
- LRU Eviction of Docker Images
-
Remove unused docker images
Look into Docuum. https://github.com/stepchowfun/docuum You tell it how much disk space it's allowed, and it automatically prunes to that amount based on least used.
-
A lesson I learnt today about disk space and important applications
Since you're using docker, take a look at https://github.com/stepchowfun/docuum. You can set a threshold for how much disk space docker images are allowed to use and it will delete unused images if you exceed that threshold.
- Recently I broke off my IoT traffic and I want to share my new network setup.
- Docuum performs least recently used (LRU) eviction of Docker images. 🗑️
What are some alternatives?
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
youki - A container runtime written in Rust
trow - Container Registry and Image Management for Kubernetes Clusters
Docker-Compose-Prometheus-and-Grafana - Prometheus-Grafana with Docker-compose
Habitus - A build flow tool for Docker.
vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
modus - A language for building Docker/OCI container images
bonjour-reflector - A reflector that forwards mdns packets between VLANs - like avahi-reflector but with fine-grained control !
oci-lib - oci-image and oci-runtime spec in rust. Un-official mirror of libocispec.
infrastructure-as-cattle - Use Packer and Terraform to treat your infrastructure as cattle.
Docker Compose - Define and run multi-container applications with Docker
docker-gc - The missing docker garbage collector