This commit is contained in:
Karthik Nadig 2017-10-24 14:01:34 -07:00
Родитель 913c3a1c2c
Коммит 9438d2b3a3
3 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 26 KiB

После

Ширина:  |  Высота:  |  Размер: 26 KiB

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 8.4 KiB

После

Ширина:  |  Высота:  |  Размер: 8.4 KiB

Просмотреть файл

@ -4,19 +4,31 @@ RTVS client v1.3 onwards supports working with docker containers. Please install
## Creating a container
1. Click on the **Containers...** button on the right hand corner of the **Workspaces** window.
![Workspaces window in R Tools for Visual Studio (VS2017)](media/workspaces-window-containers.png)
2. That should bring you to the **Containers** window.
![Containers window in R Tools for Visual Studio (VS2017)](media/containers-window.png)
3. Click on *Create* button.
![Containers window in R Tools for Visual Studio (VS2017)](media/containers-window-create-new.png)
4. Enter a name for the container, a username , and a password. The username and password will be used to create an account on linux which you will connect to in the later step. Click on *Create* button at the bottom after you are done.
![Containers window in R Tools for Visual Studio (VS2017)](media/containers-window-create-fill.png)
5. RTVS will build the image and start the container. You can Stop, Remove, or Restart the container from the **Containers** window.
![Containers window in R Tools for Visual Studio (VS2017)](media/containers-window-created.png)
## Connecting to a container
1. A container that is running RTVS daemon on port 5444 will show up in the **Local Running Containers** section of the **Workspaces** window.
![Workspaces window in R Tools for Visual Studio (VS2017)](media/workspaces-window-running-containers.png)
2. You can connect to any container listed here by double clicking or clicking on the connect button.
![Workspaces window and REPL window in R Tools for Visual Studio (VS2017)](media/workspaces-window-running-container-connected.png)
![Workspaces window and REPL window in R Tools for Visual Studio (VS2017)](media/workspaces-window-container-connected.png)