Skip to content

Commit

Permalink
Enable testcontainers on linux hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed Aug 27, 2024
1 parent 28229b4 commit 76c5914
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ services:
USER_GID: 1000

init: true
privileged: true

# Makes testcontainers work on linux based hosts
extra_hosts:
- host.docker.internal:host-gateway

volumes:
- ..:/workspace:cached
Expand Down

0 comments on commit 76c5914

Please sign in to comment.