Skip to content

Commit

Permalink
Update devcontainer.json to remove docker-in-docker and use Docker so…
Browse files Browse the repository at this point in the history
…cket
  • Loading branch information
apca committed Oct 11, 2024
1 parent 03940ed commit e917ae4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
"name": "Nextflow Development Environment",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", // Base Ubuntu container image
"runArgs": [
"--cap-add=SYS_ADMIN", // Ensure Docker CLI access
"--security-opt",
"seccomp=unconfined" // Unconfine security for Docker in Codespace
"--volume=/var/run/docker.sock:/var/run/docker.sock" // Mount the Docker socket from host machine
],
"features": {
"docker-in-docker": "true" // Enable Docker within Codespace
},
"postCreateCommand": "curl -s https://get.nextflow.io | bash && chmod +x nextflow && sudo mv nextflow /usr/local/bin/",
"customizations": {
"vscode": {
Expand Down

0 comments on commit e917ae4

Please sign in to comment.