Skip to content

Commit

Permalink
Remove snap callout from docker setup for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl committed May 7, 2024
1 parent 7453513 commit 0eddd34
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions learners/files/linux_setup.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,10 @@ Add the following chunk to the VSCode [user settings json][user_settings_json] t

### Install Docker

[Click here to follow the instructions for installing docker on linux][docker_server_install]
[Click here][docker_server_install] and then click on your linux flavour (i.e Ubuntu) to install the docker engine.

Check warning on line 44 in learners/files/linux_setup.Rmd

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[uninformative link text]: [Click here](https://docs.docker.com/engine/install/#supported-platforms)

<br>

:::::::: callout

## Extra action if you install Docker using Snap
[Snap](https://snapcraft.io/) is an app management system for linux - which is popular on
Ubuntu and other systems. Docker is available via Snap - if you have installed it using
this service you will need to take the following steps, to ensure docker will work properly.

```bash
mkdir ~/tmp
export TMPDIR=~/tmp
```

Each time you open a new terminal you will have to enter the `export TMPDIR=~/tmp` command,
or you can add it to your `~/.profile` or `~/.bashrc` file.

::::::::::::::

#### Enable docker usage as a non-root user

Follow the instructions in the Docker documentation to [enable docker usage as a non-root user][enable_user_docker_usage]
Expand Down Expand Up @@ -113,6 +96,6 @@ For other Linux systems, check [the graphviz download page][graphviz_download_pa
[benten_vs_code_marketplace]: https://marketplace.visualstudio.com/items?itemName=sbg-rabix.benten-cwl
[redhat_yaml_vs_code_marketplace]: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml
[user_settings_json]: https://code.visualstudio.com/docs/getstarted/settings#_settingsjson
[docker_server_install]: https://docs.docker.com/engine/install/#server
[docker_server_install]: https://docs.docker.com/engine/install/#supported-platforms
[enable_user_docker_usage]: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
[graphviz_download_page]: https://graphviz.org/download/#linux

0 comments on commit 0eddd34

Please sign in to comment.