Binary program to restart unhealthy Docker containers

Overview

DeUnhealth

Restart your unhealthy containers safely

Build status

dockeri.co

Last release Last Docker tag Last release size GitHub last release date Commits since release

Latest size

GitHub last commit GitHub commit activity GitHub closed PRs GitHub issues GitHub closed issues

Lines of code Code size GitHub repo size Go version

MIT Visitors count

Features

  • Restart unhealthy containers marked with deunhealth.restart.on.unhealthy=true label
  • Receive Docker events as stream instead of polling periodically
  • Doesn't need network for security purposes
  • Compatible with amd64, 386, arm64, arm32v7, arm32v6, ppc64le, s390x and riscv64 CPU architectures
  • Docker image tags and sizes

Setup

  1. Use the following command:

    docker run -d --network none -v /var/run/docker.sock:/var/run/docker.sock qmcgaw/deunhealth

    You can also use docker-compose.yml with:

    docker-compose up -d
  2. Set labels on containers:

    • To restart containers if they go unhealthy, use the label deunhealth.restart.on.unhealthy=true
  3. You can update the image with docker pull qmcgaw/deunhealth:latest or use one of the tags available. ⚠️ You might want to use tagged images since latest will likely break compatibility until we reach a v1.0.0 release.

Environment variables

Environment variable Default Possible values Description
LOG_LEVEL info debug, info, warning, error Logging level
HEALTH_SERVER_ADDRESS 127.0.0.1:9999 Valid address Health server listening address
TZ America/Montreal string Timezone

Safety

  • The application doesn't need network to reduce the attack surface
  • Since Docker is written in Go, the program is also written in Go and uses the official Docker Go API
  • The Docker container is based on scratch to reduce the attack surface and only contains the static binary
  • The container has to run as root unfortunately 😢

Development

VSCode and Docker

Please refer to the corresponding readme.

Locally

  1. Install Go, Docker and Git

  2. Install Go dependencies with

    go mod download
  3. Install golangci-lint

  4. You might want to use an editor such as Visual Studio Code with the Go extension.

Commands available

# Build the binary
go build cmd/app/main.go
# Test the code
go test ./...
# Lint the code
golangci-lint run
# Build the Docker image
docker build -t qmcgaw/deunhealth .

See Contributing for more information on how to contribute to this repository.

TODOs

  1. Trigger mechanism such that a container restart triggers other restarts
  2. Inject pre-build binary doing a DNS lookup to containers labeled for it and that do not have a healthcheck built in (useful for scratch based images without healthcheck especially)
  3. Integration tests in Go instead of shell script
Comments
  • Docker build fails

    Docker build fails

    Host OS (approximate answer is fine too): Fedora 34

    Is this urgent?: No

    What is the version of the program (See the line at the top of your logs)

    N/A - failure to build current git commit 196b83433

    What's the problem 🤔

    Docker build fails twice:

    docker build -t unhealth .

    1. RUN apk --update add git g++ I think should be apk --no-cache

    2. Not sure what this failure is from:

       go: found github.com/morikuni/aec in github.com/morikuni/aec v1.0.0
       go: found golang.org/x/time/rate in golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
       diff --git a/go.mod b/go.mod
       index c5394ae..bf6c9bd 100644
       --- a/go.mod
       +++ b/go.mod
       @@ -32,6 +32,6 @@ require (
       		golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 // indirect
       		golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
       		google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a // indirect
       -       google.golang.org/grpc v1.40.0 // indirect
       +       google.golang.org/grpc v1.41.0 // indirect
       		google.golang.org/protobuf v1.26.0 // indirect
        )
       The command '/bin/sh -c git init &&     git config user.email [email protected] &&     git config user.name ci &&     git add -A && git commit -m ci &&     sed -i '/\/\/ indirect/d' go.mod &&     go mod tidy &&     git diff --exit-code -- go.mod' returned a non-zero code: 1
      

    Share your logs...

    N/A

    opened by firecat53 4
  • Feature request: Support for docker socket proxy

    Feature request: Support for docker socket proxy

    What's the feature? 🧐

    Support for docker socket proxy

    With images that support the socket proxy, I can set DOCKER_HOST: tcp://socket-proxy:2375 as an env and then everything works fine.

    opened by nearcatch 4
  • Bug: Server API version too low

    Bug: Server API version too low

    I'm on Docker version 18.09.1, build 4c52b90

    2021/10/17 10:31:15 ERROR Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.39
    
    opened by qdm12 2
  • Build(deps): bump docker/build-push-action from 2.7.0 to 3.1.0

    Build(deps): bump docker/build-push-action from 2.7.0 to 3.1.0

    Bumps docker/build-push-action from 2.7.0 to 3.1.0.

    Release notes

    Sourced from docker/build-push-action's releases.

    v3.1.0

    • no-cache-filters input by @​crazy-max (#653)
    • Bump @​actions/github from 5.0.1 to 5.0.3 (#619)
    • Bump @​actions/core from 1.6.0 to 1.9.0 (#620 #637)
    • Bump csv-parse from 5.0.4 to 5.3.0 (#623 #650)

    Full Changelog: https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0

    v3.0.0

    • Node 16 as default runtime by @​crazy-max (#564)
      • This requires a minimum Actions Runner version of v2.285.0, which is by default available in GHES 3.4 or later.
    • Standalone mode support by @​crazy-max (#601 #609)
    • chore: update dev dependencies and workflow by @​crazy-max (#571)
    • Bump @​actions/exec from 1.1.0 to 1.1.1 (#573)
    • Bump @​actions/github from 5.0.0 to 5.0.1 (#582)
    • Bump minimist from 1.2.5 to 1.2.6 (#584)
    • Bump semver from 7.3.5 to 7.3.7 (#595)
    • Bump csv-parse from 4.16.3 to 5.0.4 (#533)

    Full Changelog: https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0

    v2.10.0

    • Add imageid output and use metadata to set digest output (#569)
    • Add build-contexts input (#563)
    • Enhance outputs display (#559)

    v2.9.0

    • add-hosts input (#553 #555)
    • Fix git context subdir example and improve README (#552)
    • Add e2e tests for ACR (#548)
    • Add description on github-token option to README (#544)
    • Bump node-fetch from 2.6.1 to 2.6.7 (#549)

    v2.8.0

    • Allow specifying subdirectory with default git context (#531)
    • Add cgroup-parent, shm-size, ulimit inputs (#501)
    • Don't set outputs if empty or nil (#470)
    • docs: example to sanitize tags with metadata-action (#476)
    • docs: wrong syntax to sanitize repo slug (#475)
    • docs: test before pushing your image (#455)
    • readme: remove v1 section (#500)
    • ci: virtual env file system info (#510)
    • dev: update workflow (#499)
    • Bump @​actions/core from 1.5.0 to 1.6.0 (#160)
    • Bump ansi-regex from 5.0.0 to 5.0.1 (#469)
    • Bump tmpl from 1.0.4 to 1.0.5 (#465)
    • Bump csv-parse from 4.16.0 to 4.16.3 (#451 #459)
    Commits
    • 1cb9d22 Merge pull request #653 from crazy-max/no-cache-filters
    • 5ffbca1 no-cache-filters input
    • a8d76c0 Merge pull request #650 from docker/dependabot/npm_and_yarn/csv-parse-5.3.0
    • 12b1e41 Update generated content
    • 2a60bef Bump csv-parse from 5.1.0 to 5.3.0
    • 5268745 Merge pull request #637 from docker/dependabot/npm_and_yarn/actions/core-1.9.0
    • a2a2734 Update generated content
    • 05d9e52 Bump @​actions/core from 1.8.2 to 1.9.0
    • 42863b1 Merge pull request #623 from docker/dependabot/npm_and_yarn/csv-parse-5.1.0
    • c372f73 Update generated content
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies github_actions 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.17+incompatible

    Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.17+incompatible

    Bumps github.com/moby/moby from 20.10.9+incompatible to 20.10.17+incompatible.

    Release notes

    Sourced from github.com/moby/moby's releases.

    v20.10.17

    This release of Docker Engine comes with updated versions of the compose, containerd, and runc components, as well as some minor bug fixes.

    Client

    • Remove asterisk from docker commands in zsh completion script docker/cli#3648.

    Networking

    • Fix Windows port conflict with published ports in host mode for overlay moby/moby#43644.
    • Ensure performance tuning is always applied to libnetwork sandboxes moby/moby#43683.

    Packaging

    v20.10.16

    This release of Docker Engine fixes a regression in the Docker CLI builds for macOS, fixes an issue with docker stats when using containerd 1.5 and up, and updates the Go runtime to include a fix for CVE-2022-29526.

    Client

    Daemon

    • Fix an issue where docker stats was showing empty stats when running with containerd 1.5.0 or up moby/moby#43567.
    • Update the golang.org/x/sys build-time dependency which contains a fix for CVE-2022-29526.

    Packaging

    • Update Go runtime to 1.17.10, which contains a fix for CVE-2022-29526.
    • Use "weak" dependencies for the docker scan CLI plugin, to prevent a "conflicting requests" error when users performed an off-line installation from downloaded RPM packages docker/docker-ce-packaging#659.

    v20.10.15

    This release of Docker Engine comes with updated versions of the compose, buildx, containerd, and runc components, as well as some minor bugfixes.

    ... (truncated)

    Commits
    • a89b842 Merge pull request #43701 from thaJeztah/20.10_backport_update_containerd_1.6.6
    • 6f3f2b6 update containerd binary to v1.6.6
    • 3fba092 Merge pull request #43692 from thaJeztah/20.0_backport_bump_containerd_binary...
    • 678cc00 Merge pull request #43589 from thaJeztah/20.10_backport_bump_runc
    • b3bcb15 update containerd binary to v1.6.5
    • 59d0ff3 Merge pull request #43686 from dfr/backport-freebsd-mknod
    • 434eecd Merge pull request #43683 from neersighted/update-libnetwork
    • f55b030 system: unbreak build for darwin
    • 63ab12c Port pkg/system/mknod.go to FreeBSD
    • 081e538 vendor: libnetwork f6ccccb1c082a432c2a5814aaedaca56af33d9ea
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.17+incompatible

    Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.17+incompatible

    Bumps github.com/docker/docker from 20.10.9+incompatible to 20.10.17+incompatible.

    Release notes

    Sourced from github.com/docker/docker's releases.

    v20.10.17

    This release of Docker Engine comes with updated versions of the compose, containerd, and runc components, as well as some minor bug fixes.

    Client

    • Remove asterisk from docker commands in zsh completion script docker/cli#3648.

    Networking

    • Fix Windows port conflict with published ports in host mode for overlay moby/moby#43644.
    • Ensure performance tuning is always applied to libnetwork sandboxes moby/moby#43683.

    Packaging

    v20.10.16

    This release of Docker Engine fixes a regression in the Docker CLI builds for macOS, fixes an issue with docker stats when using containerd 1.5 and up, and updates the Go runtime to include a fix for CVE-2022-29526.

    Client

    Daemon

    • Fix an issue where docker stats was showing empty stats when running with containerd 1.5.0 or up moby/moby#43567.
    • Update the golang.org/x/sys build-time dependency which contains a fix for CVE-2022-29526.

    Packaging

    • Update Go runtime to 1.17.10, which contains a fix for CVE-2022-29526.
    • Use "weak" dependencies for the docker scan CLI plugin, to prevent a "conflicting requests" error when users performed an off-line installation from downloaded RPM packages docker/docker-ce-packaging#659.

    v20.10.15

    This release of Docker Engine comes with updated versions of the compose, buildx, containerd, and runc components, as well as some minor bugfixes.

    ... (truncated)

    Commits
    • a89b842 Merge pull request #43701 from thaJeztah/20.10_backport_update_containerd_1.6.6
    • 6f3f2b6 update containerd binary to v1.6.6
    • 3fba092 Merge pull request #43692 from thaJeztah/20.0_backport_bump_containerd_binary...
    • 678cc00 Merge pull request #43589 from thaJeztah/20.10_backport_bump_runc
    • b3bcb15 update containerd binary to v1.6.5
    • 59d0ff3 Merge pull request #43686 from dfr/backport-freebsd-mknod
    • 434eecd Merge pull request #43683 from neersighted/update-libnetwork
    • f55b030 system: unbreak build for darwin
    • 63ab12c Port pkg/system/mknod.go to FreeBSD
    • 081e538 vendor: libnetwork f6ccccb1c082a432c2a5814aaedaca56af33d9ea
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.16+incompatible

    Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.16+incompatible

    Bumps github.com/moby/moby from 20.10.9+incompatible to 20.10.16+incompatible.

    Release notes

    Sourced from github.com/moby/moby's releases.

    v20.10.16

    This release of Docker Engine fixes a regression in the Docker CLI builds for macOS, fixes an issue with docker stats when using containerd 1.5 and up, and updates the Go runtime to include a fix for CVE-2022-29526.

    Client

    Daemon

    • Fix an issue where docker stats was showing empty stats when running with containerd 1.5.0 or up moby/moby#43567.
    • Update the golang.org/x/sys build-time dependency which contains a fix for CVE-2022-29526.

    Packaging

    • Update Go runtime to 1.17.10, which contains a fix for CVE-2022-29526.
    • Use "weak" dependencies for the docker scan CLI plugin, to prevent a "conflicting requests" error when users performed an off-line installation from downloaded RPM packages docker/docker-ce-packaging#659.

    v20.10.15

    This release of Docker Engine comes with updated versions of the compose, buildx, containerd, and runc components, as well as some minor bugfixes.

    Daemon

    • Use a RWMutex for stateCounter to prevent potential locking congestion moby/moby#43426.
    • Prevent an issue where the daemon was unable to find an available IP-range in some conditions moby/moby#43360

    Packaging

    • Update Docker Compose to v2.5.0.
    • Update Docker Buildx to v0.8.2.
    • Update Go runtime to 1.17.9.
    • Update containerd (containerd.io package) to v1.6.4.
    • Update runc version to v1.1.1.
    • Add packages for CentOS 9 stream and Fedora 36.

    v20.10.14

    This release of Docker Engine updates the default inheritable capabilities for containers to address CVE-2022-24769, a new version of the containerd.io runtime is also included to address the same issue.

    ... (truncated)

    Commits
    • f756502 Merge pull request #43582 from thaJeztah/20.10_bump_golang_1.17.10
    • a15acb4 [20.10] vendor: golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
    • 5f2e0b7 [20.10] update golang to 1.17.10
    • 462cd7d Merge pull request #43567 from 42wim/fixstats
    • be7855f vendor: update github.com/containerd/cgroups and github.com/cilium/ebpf
    • 4433bf6 Merge pull request #43561 from thaJeztah/20.10_backport_bump_containerd_binar...
    • 414a9e2 update containerd binary to v1.6.4
    • 0809f5f Merge pull request #43433 from thaJeztah/20.10_backport_update_containerd_runc
    • 47b6a92 update containerd binary to v1.6.3
    • 6d7c2b2 update containerd binary to v1.6.2
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.16+incompatible

    Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.16+incompatible

    Bumps github.com/docker/docker from 20.10.9+incompatible to 20.10.16+incompatible.

    Release notes

    Sourced from github.com/docker/docker's releases.

    v20.10.16

    This release of Docker Engine fixes a regression in the Docker CLI builds for macOS, fixes an issue with docker stats when using containerd 1.5 and up, and updates the Go runtime to include a fix for CVE-2022-29526.

    Client

    Daemon

    • Fix an issue where docker stats was showing empty stats when running with containerd 1.5.0 or up moby/moby#43567.
    • Update the golang.org/x/sys build-time dependency which contains a fix for CVE-2022-29526.

    Packaging

    • Update Go runtime to 1.17.10, which contains a fix for CVE-2022-29526.
    • Use "weak" dependencies for the docker scan CLI plugin, to prevent a "conflicting requests" error when users performed an off-line installation from downloaded RPM packages docker/docker-ce-packaging#659.

    v20.10.15

    This release of Docker Engine comes with updated versions of the compose, buildx, containerd, and runc components, as well as some minor bugfixes.

    Daemon

    • Use a RWMutex for stateCounter to prevent potential locking congestion moby/moby#43426.
    • Prevent an issue where the daemon was unable to find an available IP-range in some conditions moby/moby#43360

    Packaging

    • Update Docker Compose to v2.5.0.
    • Update Docker Buildx to v0.8.2.
    • Update Go runtime to 1.17.9.
    • Update containerd (containerd.io package) to v1.6.4.
    • Update runc version to v1.1.1.
    • Add packages for CentOS 9 stream and Fedora 36.

    v20.10.14

    This release of Docker Engine updates the default inheritable capabilities for containers to address CVE-2022-24769, a new version of the containerd.io runtime is also included to address the same issue.

    ... (truncated)

    Commits
    • f756502 Merge pull request #43582 from thaJeztah/20.10_bump_golang_1.17.10
    • a15acb4 [20.10] vendor: golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
    • 5f2e0b7 [20.10] update golang to 1.17.10
    • 462cd7d Merge pull request #43567 from 42wim/fixstats
    • be7855f vendor: update github.com/containerd/cgroups and github.com/cilium/ebpf
    • 4433bf6 Merge pull request #43561 from thaJeztah/20.10_backport_bump_containerd_binar...
    • 414a9e2 update containerd binary to v1.6.4
    • 0809f5f Merge pull request #43433 from thaJeztah/20.10_backport_update_containerd_runc
    • 47b6a92 update containerd binary to v1.6.3
    • 6d7c2b2 update containerd binary to v1.6.2
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.15+incompatible

    Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.15+incompatible

    Bumps github.com/moby/moby from 20.10.9+incompatible to 20.10.15+incompatible.

    Release notes

    Sourced from github.com/moby/moby's releases.

    v20.10.15

    This release of Docker Engine comes with updated versions of the compose, buildx, containerd, and runc components, as well as some minor bugfixes.

    Daemon

    • Use a RWMutex for stateCounter to prevent potential locking congestion moby/moby#43426.
    • Prevent an issue where the daemon was unable to find an available IP-range in some conditions moby/moby#43360

    Packaging

    • Update Docker Compose to v2.5.0.
    • Update Docker Buildx to v0.8.2.
    • Update Go runtime to 1.17.9.
    • Update containerd (containerd.io package) to v1.6.4.
    • Update runc version to v1.1.1.
    • Add packages for CentOS 9 stream and Fedora 36.

    v20.10.14

    This release of Docker Engine updates the default inheritable capabilities for containers to address CVE-2022-24769, a new version of the containerd.io runtime is also included to address the same issue.

    Daemon

    • Update the default inheritable capabilities.

    Builder

    • Update the default inheritable capabilities for containers used during build.

    Packaging

    • Update containerd (containerd.io package) to v1.5.11.
    • Update docker buildx to v0.8.1.

    v20.10.13

    This release of Docker Engine contains some bug-fixes and packaging changes, updates to the docker scan and docker buildx commands, an updated version of the Go runtime, and new versions of the containerd.io runtime. Together with this release, we now also provide .deb and .rpm packages of Docker Compose V2, which can be installed using the (optional) docker-compose-plugin package.

    Builder

    • Updated the bundled version of buildx to v0.8.0.

    ... (truncated)

    Commits
    • 4433bf6 Merge pull request #43561 from thaJeztah/20.10_backport_bump_containerd_binar...
    • 414a9e2 update containerd binary to v1.6.4
    • 0809f5f Merge pull request #43433 from thaJeztah/20.10_backport_update_containerd_runc
    • 47b6a92 update containerd binary to v1.6.3
    • 6d7c2b2 update containerd binary to v1.6.2
    • 91708bf update containerd binary to v1.6.1
    • 53ae170 Revert "[20.10] update containerd binary to 1.5.11"
    • 961b9a7 update runc binary to v1.1.1
    • 97972da update runc binary to v1.1.0
    • 2929771 Merge pull request #43499 from thaJeztah/20.10_bump_golang_1.17.9
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.15+incompatible

    Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.15+incompatible

    Bumps github.com/docker/docker from 20.10.9+incompatible to 20.10.15+incompatible.

    Release notes

    Sourced from github.com/docker/docker's releases.

    v20.10.15

    This release of Docker Engine comes with updated versions of the compose, buildx, containerd, and runc components, as well as some minor bugfixes.

    Daemon

    • Use a RWMutex for stateCounter to prevent potential locking congestion moby/moby#43426.
    • Prevent an issue where the daemon was unable to find an available IP-range in some conditions moby/moby#43360

    Packaging

    • Update Docker Compose to v2.5.0.
    • Update Docker Buildx to v0.8.2.
    • Update Go runtime to 1.17.9.
    • Update containerd (containerd.io package) to v1.6.4.
    • Update runc version to v1.1.1.
    • Add packages for CentOS 9 stream and Fedora 36.

    v20.10.14

    This release of Docker Engine updates the default inheritable capabilities for containers to address CVE-2022-24769, a new version of the containerd.io runtime is also included to address the same issue.

    Daemon

    • Update the default inheritable capabilities.

    Builder

    • Update the default inheritable capabilities for containers used during build.

    Packaging

    • Update containerd (containerd.io package) to v1.5.11.
    • Update docker buildx to v0.8.1.

    v20.10.13

    This release of Docker Engine contains some bug-fixes and packaging changes, updates to the docker scan and docker buildx commands, an updated version of the Go runtime, and new versions of the containerd.io runtime. Together with this release, we now also provide .deb and .rpm packages of Docker Compose V2, which can be installed using the (optional) docker-compose-plugin package.

    Builder

    • Updated the bundled version of buildx to v0.8.0.

    ... (truncated)

    Commits
    • 4433bf6 Merge pull request #43561 from thaJeztah/20.10_backport_bump_containerd_binar...
    • 414a9e2 update containerd binary to v1.6.4
    • 0809f5f Merge pull request #43433 from thaJeztah/20.10_backport_update_containerd_runc
    • 47b6a92 update containerd binary to v1.6.3
    • 6d7c2b2 update containerd binary to v1.6.2
    • 91708bf update containerd binary to v1.6.1
    • 53ae170 Revert "[20.10] update containerd binary to 1.5.11"
    • 961b9a7 update runc binary to v1.1.1
    • 97972da update runc binary to v1.1.0
    • 2929771 Merge pull request #43499 from thaJeztah/20.10_bump_golang_1.17.9
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 1
  • Build(deps): bump docker/build-push-action from 2.7.0 to 3.0.0

    Build(deps): bump docker/build-push-action from 2.7.0 to 3.0.0

    Bumps docker/build-push-action from 2.7.0 to 3.0.0.

    Release notes

    Sourced from docker/build-push-action's releases.

    v3.0.0

    • Node 16 as default runtime by @​crazy-max (#564)
      • This requires a minimum Actions Runner version of v2.285.0, which is by default available in GHES 3.4 or later.
    • Standalone mode support by @​crazy-max (#601 #609)
    • chore: update dev dependencies and workflow by @​crazy-max (#571)
    • Bump @​actions/exec from 1.1.0 to 1.1.1 (#573)
    • Bump @​actions/github from 5.0.0 to 5.0.1 (#582)
    • Bump minimist from 1.2.5 to 1.2.6 (#584)
    • Bump semver from 7.3.5 to 7.3.7 (#595)
    • Bump csv-parse from 4.16.3 to 5.0.4 (#533)

    Full Changelog: https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0

    v2.10.0

    • Add imageid output and use metadata to set digest output (#569)
    • Add build-contexts input (#563)
    • Enhance outputs display (#559)

    v2.9.0

    • add-hosts input (#553 #555)
    • Fix git context subdir example and improve README (#552)
    • Add e2e tests for ACR (#548)
    • Add description on github-token option to README (#544)
    • Bump node-fetch from 2.6.1 to 2.6.7 (#549)

    v2.8.0

    • Allow specifying subdirectory with default git context (#531)
    • Add cgroup-parent, shm-size, ulimit inputs (#501)
    • Don't set outputs if empty or nil (#470)
    • docs: example to sanitize tags with metadata-action (#476)
    • docs: wrong syntax to sanitize repo slug (#475)
    • docs: test before pushing your image (#455)
    • readme: remove v1 section (#500)
    • ci: virtual env file system info (#510)
    • dev: update workflow (#499)
    • Bump @​actions/core from 1.5.0 to 1.6.0 (#160)
    • Bump ansi-regex from 5.0.0 to 5.0.1 (#469)
    • Bump tmpl from 1.0.4 to 1.0.5 (#465)
    • Bump csv-parse from 4.16.0 to 4.16.3 (#451 #459)
    Commits
    • e551b19 Merge pull request #564 from crazy-max/node-16
    • 3554377 Merge pull request #609 from crazy-max/ci-fix-test
    • a62bc1b ci: fix standalone test
    • c208583 Merge pull request #601 from crazy-max/standalone-mode
    • fcd9124 Merge pull request #607 from docker/dependabot/github_actions/docker/metadata...
    • 0ebe720 Bump docker/metadata-action from 3 to 4
    • 38b4580 Standalone mode support
    • ba31738 Merge pull request #533 from docker/dependabot/npm_and_yarn/csv-parse-5.0.4
    • 43721d2 Update generated content
    • 5ea21bf Fix csv-parse implementation since major update
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies github_actions 
    opened by dependabot[bot] 1
  • Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.18+incompatible

    Build(deps): bump github.com/moby/moby from 20.10.9+incompatible to 20.10.18+incompatible

    Bumps github.com/moby/moby from 20.10.9+incompatible to 20.10.18+incompatible.

    Release notes

    Sourced from github.com/moby/moby's releases.

    v20.10.18

    This release of Docker Engine comes with a fix for a low-severity security issue, some minor bug fixes, and updated versions of Docker Compose, Docker Buildx, containerd, and runc.

    Client

    Builder

    • Fix an issue where file-capabilities were not preserved during build moby/moby#43876.
    • Fix an issue that could result in a panic caused by a concurrent map read and map write moby/moby#44067

    Daemon

    • Fix a security vulnerability relating to supplementary group permissions, which could allow a container process to bypass primary group restrictions within the container CVE-2022-36109, GHSA-rc4r-wh2q-q6c4.
    • seccomp: add support for Landlock syscalls in default policy moby/moby#43991.
    • seccomp: update default policy to support new syscalls introduced in kernel 5.12 - 5.16 moby/moby#43991.
    • Fix an issue where cache lookup for image manifests would fail, resulting in a redundant round-trip to the image registry moby/moby#44109.
    • Fix an issue where exec processes and healthchecks were not terminated when they timed out moby/moby#44018.

    Packaging

    v20.10.17

    This release of Docker Engine comes with updated versions of the compose, containerd, and runc components, as well as some minor bug fixes.

    Client

    • Remove asterisk from docker commands in zsh completion script docker/cli#3648.

    Networking

    • Fix Windows port conflict with published ports in host mode for overlay moby/moby#43644.
    • Ensure performance tuning is always applied to libnetwork sandboxes moby/moby#43683.

    Packaging

    ... (truncated)

    Commits
    • e42327a Merge pull request #44120 from thaJeztah/20.10_backport_update_tests
    • fcd4df9 Update some tests for supplementary group permissions
    • bb0197c Merge pull request from GHSA-rc4r-wh2q-q6c4
    • d348775 Merge pull request #44109 from rumpl/20.10-fix-local-context
    • 6a0186b Wrap local calls to the content and lease service
    • b73e9c2 Merge pull request #44098 from thaJeztah/20.10_backport_swagger_updates
    • 4855c28 Merge pull request #44101 from thaJeztah/20.10_backport_bump_golang_1.18.6
    • 3d4616f Update to go 1.18.6 to address CVE-2022-27664, CVE-2022-32190
    • d56101e Merge pull request #44093 from thaJeztah/20.10_backport_remove_tereshkova
    • 23c7d84 docs: api: adjust ContainerWaitResponse error as optional
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 0
  • Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.18+incompatible

    Build(deps): bump github.com/docker/docker from 20.10.9+incompatible to 20.10.18+incompatible

    Bumps github.com/docker/docker from 20.10.9+incompatible to 20.10.18+incompatible.

    Release notes

    Sourced from github.com/docker/docker's releases.

    v20.10.18

    This release of Docker Engine comes with a fix for a low-severity security issue, some minor bug fixes, and updated versions of Docker Compose, Docker Buildx, containerd, and runc.

    Client

    Builder

    • Fix an issue where file-capabilities were not preserved during build moby/moby#43876.
    • Fix an issue that could result in a panic caused by a concurrent map read and map write moby/moby#44067

    Daemon

    • Fix a security vulnerability relating to supplementary group permissions, which could allow a container process to bypass primary group restrictions within the container CVE-2022-36109, GHSA-rc4r-wh2q-q6c4.
    • seccomp: add support for Landlock syscalls in default policy moby/moby#43991.
    • seccomp: update default policy to support new syscalls introduced in kernel 5.12 - 5.16 moby/moby#43991.
    • Fix an issue where cache lookup for image manifests would fail, resulting in a redundant round-trip to the image registry moby/moby#44109.
    • Fix an issue where exec processes and healthchecks were not terminated when they timed out moby/moby#44018.

    Packaging

    v20.10.17

    This release of Docker Engine comes with updated versions of the compose, containerd, and runc components, as well as some minor bug fixes.

    Client

    • Remove asterisk from docker commands in zsh completion script docker/cli#3648.

    Networking

    • Fix Windows port conflict with published ports in host mode for overlay moby/moby#43644.
    • Ensure performance tuning is always applied to libnetwork sandboxes moby/moby#43683.

    Packaging

    ... (truncated)

    Commits
    • e42327a Merge pull request #44120 from thaJeztah/20.10_backport_update_tests
    • fcd4df9 Update some tests for supplementary group permissions
    • bb0197c Merge pull request from GHSA-rc4r-wh2q-q6c4
    • d348775 Merge pull request #44109 from rumpl/20.10-fix-local-context
    • 6a0186b Wrap local calls to the content and lease service
    • b73e9c2 Merge pull request #44098 from thaJeztah/20.10_backport_swagger_updates
    • 4855c28 Merge pull request #44101 from thaJeztah/20.10_backport_bump_golang_1.18.6
    • 3d4616f Update to go 1.18.6 to address CVE-2022-27664, CVE-2022-32190
    • d56101e Merge pull request #44093 from thaJeztah/20.10_backport_remove_tereshkova
    • 23c7d84 docs: api: adjust ContainerWaitResponse error as optional
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies go 
    opened by dependabot[bot] 0
  • Build(deps): bump peter-evans/dockerhub-description from 2.4.3 to 3.1.0

    Build(deps): bump peter-evans/dockerhub-description from 2.4.3 to 3.1.0

    Bumps peter-evans/dockerhub-description from 2.4.3 to 3.1.0.

    Release notes

    Sourced from peter-evans/dockerhub-description's releases.

    Docker Hub Description v3.1.0

    ⚙️ The action no longer throws an error when the 25,000 byte content limit is exceeded. The request will be sent to DockerHub's API where DockerHub will truncate it to 25,000 bytes.

    What's Changed

    Full Changelog: https://github.com/peter-evans/dockerhub-description/compare/v3.0.0...v3.1.0

    Docker Hub Description v3.0.0

    What's new

    • Updated runtime to Node.js 16
      • The action now requires a minimum version of v2.285.0 for the Actions Runner.
      • If using GitHub Enterprise Server, the action requires GHES 3.4 or later.

    What's Changed

    Full Changelog: https://github.com/peter-evans/dockerhub-description/compare/v2.4.3...v3.0.0

    Commits
    • da89008 Merge pull request #71 from peter-evans/rm-byte-limit
    • afa309e feat: remove error when content limit exceeded
    • 22ceabb docs: add pat scope details
    • 5edfa5b docs: update to reflect access tokens can be used
    • 1cf9afb Merge pull request #65 from peter-evans/dependabot/github_actions/peter-evans...
    • 8a5577c build(deps): bump peter-evans/create-pull-request from 3 to 4
    • 836d7e6 Merge pull request #64 from peter-evans/v3
    • 6c2330d Update runtime to node 16
    • 7e2c013 Merge pull request #63 from peter-evans/rm-workflow
    • 451dfdc ci: remove workflow
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies github_actions 
    opened by dependabot[bot] 0
  • Build(deps): bump docker/build-push-action from 2.7.0 to 3.1.1

    Build(deps): bump docker/build-push-action from 2.7.0 to 3.1.1

    Bumps docker/build-push-action from 2.7.0 to 3.1.1.

    Release notes

    Sourced from docker/build-push-action's releases.

    v3.1.1

    Full Changelog: https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1

    v3.1.0

    • no-cache-filters input by @​crazy-max (#653)
    • Bump @​actions/github from 5.0.1 to 5.0.3 (#619)
    • Bump @​actions/core from 1.6.0 to 1.9.0 (#620 #637)
    • Bump csv-parse from 5.0.4 to 5.3.0 (#623 #650)

    Full Changelog: https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0

    v3.0.0

    • Node 16 as default runtime by @​crazy-max (#564)
      • This requires a minimum Actions Runner version of v2.285.0, which is by default available in GHES 3.4 or later.
    • Standalone mode support by @​crazy-max (#601 #609)
    • chore: update dev dependencies and workflow by @​crazy-max (#571)
    • Bump @​actions/exec from 1.1.0 to 1.1.1 (#573)
    • Bump @​actions/github from 5.0.0 to 5.0.1 (#582)
    • Bump minimist from 1.2.5 to 1.2.6 (#584)
    • Bump semver from 7.3.5 to 7.3.7 (#595)
    • Bump csv-parse from 4.16.3 to 5.0.4 (#533)

    Full Changelog: https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0

    v2.10.0

    • Add imageid output and use metadata to set digest output (#569)
    • Add build-contexts input (#563)
    • Enhance outputs display (#559)

    v2.9.0

    • add-hosts input (#553 #555)
    • Fix git context subdir example and improve README (#552)
    • Add e2e tests for ACR (#548)
    • Add description on github-token option to README (#544)
    • Bump node-fetch from 2.6.1 to 2.6.7 (#549)

    v2.8.0

    • Allow specifying subdirectory with default git context (#531)
    • Add cgroup-parent, shm-size, ulimit inputs (#501)
    • Don't set outputs if empty or nil (#470)
    • docs: example to sanitize tags with metadata-action (#476)
    • docs: wrong syntax to sanitize repo slug (#475)
    • docs: test before pushing your image (#455)
    • readme: remove v1 section (#500)
    • ci: virtual env file system info (#510)
    • dev: update workflow (#499)
    • Bump @​actions/core from 1.5.0 to 1.6.0 (#160)

    ... (truncated)

    Commits
    • c84f382 Merge pull request #663 from crazy-max/fix-git-token-cond
    • cd5d0b7 Merge pull request #661 from dud225/subdir_context
    • 30a3224 Fix GitHub token not passed with Git context if subdir defined
    • 1f19633 Update comment regarding the support of subdir context
    • 67af6dc Merge pull request #657 from bendrucker/deprecated-fs-rmdir
    • 988cb09 replace deprecated fs.rmdir with fs.rm
    • 1cb9d22 Merge pull request #653 from crazy-max/no-cache-filters
    • 5ffbca1 no-cache-filters input
    • a8d76c0 Merge pull request #650 from docker/dependabot/npm_and_yarn/csv-parse-5.3.0
    • 12b1e41 Update generated content
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    :game_die: dependencies github_actions 
    opened by dependabot[bot] 0
  • Feature request: auto-restart containers depend on restart unhealthly parent

    Feature request: auto-restart containers depend on restart unhealthly parent

    context

    When we have containers (aka childs) depending on another container (parent), the childs doesn't restart when the parent is failing and restarts.

    services:
      parent_container:
          labels:
          - deunhealth.restart.on.unhealthy=true
         [...]
         
      child1:
        depends_on:
          parent_container:
            condition: service_healthy
          network_mode: "service:parent_container"
          labels:
          - deunhealth.restart.on.unhealthy=true    
         [...]        
    
      child2:
        depends_on:
          parent_container:
            condition: service_healthy
          network_mode: "service:parent_container"
          labels:
          - deunhealth.restart.on.unhealthy=true
         [...]        
    

    What's the feature? 🧐

    • Add a solution to check childs when a restart of the parent is required and restart them when parent is "running" and/or "healthly".

    Suggested solution

    Maybe something like that :

    add a label for child : deunhealth.restart.on.depends_on=true (maybe change "true" to the parent's container_name)
    
    workflow of auto-restart parent :
         -  restart the container (parent)
         -  get list of other containers contains the according label (childs)
                  - if state is not running/healthly then restart it
    

    Thank's for your help.

    opened by PiDroid-B 0
  • Recognition of

    Recognition of "deunhealth.restart.on.unhealthy"

    I've running the latest version of deunhelath in a docker container through docker-compose stack. The version of docker and compose are the latest as well. In the stacks of the containers that I want to restart when becoming unhealthy, I've added the label as follows:

    labels:
      deunhealth.restart.on.unhealthy: true
    

    Despite the containers work fine and labels have been added correctly, deunhealth does not seem to recognise the labels, being the deunhealth's log as follows:

    2022/06/25 14:00:23 INFO healthcheck: listening on 127.0.0.1:9999
    2022/06/25 14:00:23 INFO Monitoring 0 containers to restart when becoming unhealthy
    2022/06/25 14:00:23 INFO New labeled containers will be automatically detected
    

    I don't know if I'm doing something wrong.

    Thanks in advance.

    opened by pirh2o 4
Releases(v0.3.0)
  • v0.3.0(Oct 17, 2021)

    Features

    • Negotiate Docker client version with Docker server (so it works on older Docker servers)

    Maintenance

    Go dependencies

    • Upgrade github.com/docker/docker to v20.10.9
    • Upgrade github.com/moby/moby to v20.10.9
    • Upgrade github.com/qdm12/goshutdown to v0.3.0

    Build dependencies

    • Upgrade golangci-lint to v1.42.1

    Code refactoring

    • Refactor internal/config package
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Sep 26, 2021)

    Features

    • DOCKER_HOST environment variable
    • Log out number of containers monitored at start

    Fixes

    • Exit program on loop error

    Documentation

    • Fix /var/run/docker.sock bind mount in docker-compose.yml

    Maintenance

    • Bump docker/build-push-action from 2.6.1 to 2.7.0 (#2)
    • Upgrade to Go 1.17
    • Remove tidy CI + Dockerfile stage (with Go 1.17 it does not make sense anymore)
    Source code(tar.gz)
    Source code(zip)
Owner
Quentin McGaw
Software ninja with an education Happy with Go, React, Flutter and all devops goodies
Quentin McGaw
A tool to restart a Docker container with a newer version of the image

repull A tool to restart a Docker container with a newer version of an image used by the container Often you may need to pull a newer version of an im

Eugene 24 Aug 22, 2022
Open Source runtime scanner for Linux containers (LXD), It performs security audit checks based on CIS Linux containers Benchmark specification

lxd-probe Scan your Linux container runtime !! Lxd-Probe is an open source audit scanner who perform audit check on a linux container manager and outp

Chen Keinan 14 May 16, 2022
Monitoring changes in the source file and automatically compile and run (restart).

dogo Monitoring changes in the source file and automatically compile and run (restart). 中文 Install go get github.com/liudng/dogo Create config Here's

null 250 Sep 7, 2022
Simple docker tui to list, start and stop your containers

docker-tui Simple docker tui that lets you list, start and stop your containers. Current status Rough, initial prototype. Build with This tool relies

Olek 6 Sep 3, 2022
A super simple demo to document my journey to reasonably sized docker containers.

hello-docker A super simple demo to document my journey to reasonably sized docker containers. Task at Hand Build a docker container as small as possi

Torsten Wunderlich 0 Nov 30, 2021
This repository is where I'm learning to write a CLI using Go, while learning Go, and experimenting with Docker containers and APIs.

CLI Project This repository contains a CLI project that I've been working on for a while. It's a simple project that I've been utilizing to learn Go,

Tamir Arnesty 0 Dec 12, 2021
Build and run Docker containers leveraging NVIDIA GPUs

NVIDIA Container Toolkit Introduction The NVIDIA Container Toolkit allows users to build and run GPU accelerated Docker containers. The toolkit includ

NVIDIA Corporation 15.2k Sep 26, 2022
Docker-NodeJS - Creating a CI/CD Environment for Serverless Containers on Google Cloud Run

Creating a CI/CD Environment for Serverless Containers on Google Cloud Run Archi

David 1 Jan 8, 2022
My Homemade ci-cd service made for docker containers

Docker-CI-CD What Is This? The Docker-CI-CD is a tool that helps you to make every commit and push to your github repositories happen seamlessly and a

null 1 Jan 24, 2022
Show dependency graph of docker images/containers

docker-graph Show dependency graph of docker images/containers like this: Orange is images and green is containers. Features Collect docker images, co

Tomohisa Hirami 0 Feb 7, 2022
Copy files and artifacts via SSH using a binary, docker or Drone CI.

drone-scp Copy files and artifacts via SSH using a binary, docker or Drone CI. Feature Support routines. Support wildcard pattern on source list. Supp

Bo-Yi Wu 109 Sep 9, 2022
Running Go binary into Docker

This go file make a get into an API, that API provides a JSON with a cat information

David Casado Masllorens 0 Feb 7, 2022
Explore Docker registries and manipulate Docker images!

L/S tags Utility and API to manipulate (analyze, synchronize and aggregate) images across different Docker registries. Example invocation $ lstags alp

Ivan Ilves 293 Sep 12, 2022
Docker-based remote code runner / 基于 Docker 的远程代码运行器

Docker-based remote code runner / 基于 Docker 的远程代码运行器

E99p1ant 36 Sep 13, 2022
ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)

English / 日本語 ecsk ECS + Task = ecsk ?? ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run

null 107 Aug 31, 2022
Hassle-free minimal CI/CD for git repositories with docker or docker-compose projects.

GIT-PIPE Hassle-free minimal CI/CD for git repos for docker-based projects. Features: zero configuration for repos by default automatic encrypted back

Aleksandr Baryshnikov 51 Aug 23, 2022
Tool to convert docker-compose files to set of simple docker commands

docker-decompose Tool to convert docker-compose files to set of simple docker commands. Install Use go get to install the latest version of the librar

Liri S 2 Apr 12, 2022
Go-http-server-docker - Simple sample server using docker and go

go-http-server-docker Simple sample webserver using docker and go.

null 0 Jan 8, 2022
Docker-hub-rate-limit - Show pulling rate status of Docker-hub

Docker-Hub Pull Rate Status This tool shows current status of docker hub pull ra

Tak 1 Jan 28, 2022