From abd572d327ad69c936143a6471babe75928695ce Mon Sep 17 00:00:00 2001 From: Amal Pavithran Date: Mon, 25 Jan 2021 12:15:54 +0530 Subject: [PATCH 1/3] Update docker-based-setup-silc.md --- users/anandubajith/docker-based-setup-silc.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/anandubajith/docker-based-setup-silc.md b/users/anandubajith/docker-based-setup-silc.md index ca661a4..9ca34f6 100644 --- a/users/anandubajith/docker-based-setup-silc.md +++ b/users/anandubajith/docker-based-setup-silc.md @@ -43,10 +43,12 @@ Start an instance of Container and map the local folder into `files` directory i docker run -v $PWD:/xsm_expl/files -d --name silc -i silc:ubuntu20.04 # on windows docker run -v %cd%:/xsm_expl/files -d --name silc -i silc:ubuntu20.04 + # on powershell + docker run -v get-location:/xsm_expl/files -d --name silc -i silc:ubuntu20.04 ``` ### Connecting to the container Connect to the container docker start silc docker exec -it silc /bin/bash -The usage instructions for the XSM simulator can be found here. \ No newline at end of file +The usage instructions for the XSM simulator can be found here. From 22fc6621bd52977c1b722d587ab5fc14ff194ae9 Mon Sep 17 00:00:00 2001 From: Amal Pavithran Date: Mon, 25 Jan 2021 12:21:43 +0530 Subject: [PATCH 2/3] Minor fixes --- users/anandubajith/docker-based-setup-silc.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/anandubajith/docker-based-setup-silc.md b/users/anandubajith/docker-based-setup-silc.md index 9ca34f6..9e7ecc2 100644 --- a/users/anandubajith/docker-based-setup-silc.md +++ b/users/anandubajith/docker-based-setup-silc.md @@ -49,6 +49,8 @@ Start an instance of Container and map the local folder into `files` directory i ### Connecting to the container Connect to the container +``` docker start silc docker exec -it silc /bin/bash +``` The usage instructions for the XSM simulator can be found here. From ee6a690b7f3c2045fcb3a8935417d8a22271f223 Mon Sep 17 00:00:00 2001 From: Amal Pavithran Date: Wed, 3 Feb 2021 17:04:38 +0530 Subject: [PATCH 3/3] Instructions for Attaching VS code to container --- users/anandubajith/docker-based-setup-silc.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/users/anandubajith/docker-based-setup-silc.md b/users/anandubajith/docker-based-setup-silc.md index 9e7ecc2..9078596 100644 --- a/users/anandubajith/docker-based-setup-silc.md +++ b/users/anandubajith/docker-based-setup-silc.md @@ -44,7 +44,7 @@ Start an instance of Container and map the local folder into `files` directory i # on windows docker run -v %cd%:/xsm_expl/files -d --name silc -i silc:ubuntu20.04 # on powershell - docker run -v get-location:/xsm_expl/files -d --name silc -i silc:ubuntu20.04 + docker run -v ${PWD}:/xsm_expl/files -d --name silc -i silc:ubuntu20.04 ``` ### Connecting to the container @@ -53,4 +53,11 @@ Connect to the container docker start silc docker exec -it silc /bin/bash ``` + +### Connecting to the container using VS Code +- Install both `ms-vscode-remote.remote-wsl` and `ms-azuretools.vscode-docker` extensions +- Go to the Docker Tab +- Start the silc container +- Right click on it and click `Attach Visual Studio Code` + The usage instructions for the XSM simulator can be found here.