Remove devcontainer due to clab limitation
This commit is contained in:
@@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user