Skip to content

Commit

Permalink
[docker-in-docker] - issue devcontainers#1202 solution - moby=false, …
Browse files Browse the repository at this point in the history
…holds configured docker-ce and docker-ce-cli version
  • Loading branch information
gauravsaini04 committed Dec 13, 2024
1 parent f8e7e27 commit 0a3789e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docker-in-docker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ else
else
apt-get -y install --no-install-recommends docker-ce-cli${cli_version_suffix} docker-ce${engine_version_suffix}
# Install compose
apt-mark hold docker-ce docker-ce-cli
apt-get -y install --no-install-recommends docker-compose-plugin || echo "(*) Package docker-compose-plugin (Docker Compose v2) not available for OS ${ID} ${VERSION_CODENAME} (${architecture}). Skipping."
fi
fi
Expand Down

0 comments on commit 0a3789e

Please sign in to comment.