From 234465fbe46822edd4229ca7995f5a3aaeb87088 Mon Sep 17 00:00:00 2001 From: Simon Haas <22013217+SimonHaas@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:17:35 +0000 Subject: [PATCH] docker-outside-of-docker --- .devcontainer/devcontainer.json | 3 ++- .devcontainer/docker-compose.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e664df7540..525103cadf 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,12 +1,13 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/alpine { - "name": "Alpine", + "name": "ansible", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile //"image": "mcr.microsoft.com/devcontainers/base:ubuntu", "service": "ansible", "dockerComposeFile": "docker-compose.yml", "features": { + "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}, "ghcr.io/devcontainers-contrib/features/ansible:2": {} }, diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 33e0448e84..da19170143 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -5,5 +5,4 @@ services: image: mcr.microsoft.com/devcontainers/base:ubuntu volumes: - ..:/workspaces/ansible_collections/community/general - restart: always command: sleep infinity \ No newline at end of file