Remove devcontainer due to clab limitation

This commit is contained in:
Damien A
2024-01-21 16:18:32 +01:00
parent bb8d415f61
commit c46f4cf701
2 changed files with 0 additions and 43 deletions

View File

@@ -1,26 +0,0 @@
{
"name": "ContainerLab",
"dockerComposeFile": "docker-compose.yml",
"service": "containerlab",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [50080],
// Mount worspace on container
"workspaceFolder": "/workspace",
// Import ceos images
"postCreateCommand": "docker import network_images/cEOS64-lab-4.31.1F.tar.xz ceos:4.31.1F",
// Configure properties specific to VS Code.
"customizations": {
"vscode": {
"extensions": [
"ms-vscode-remote.vscode-remote-extensionpack",
"ms-azuretools.vscode-docker",
"ms-python.python",
"DavidAnson.vscode-markdownlint"
]
}
}
}

View File

@@ -1,17 +0,0 @@
version: '3.8'
services:
containerlab:
image: ghcr.io/srl-labs/clab
platform: linux/amd64
command: tail -f /dev/null
privileged: true
network_mode: host
pid: host
ports:
- "50080:50080"
volumes:
- ..:/workspace
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/netns:/var/run/netns
- /etc/hosts:/etc/hosts
- /var/lib/docker/containers:/var/lib/docker/containers