Devops development container
Requirements
- VS Code ≥ 1.95
- Docker ≥ 24 (we recommend using Docker Desktop)
Configure Docker access
The simplest way of installing everything Docker is to use Docker Desktop. You can also go the engine way and install Docker manually.
Once installed, you need to configure some access rights to the Docker daemon. The easiest way to do this is to add your user
to the docker
group. This can be done with the following command :
sudo groupadd docker
sudo usermod -aG docker $USER
After running this command, you need to log out and log back in your terminal to apply the changes.
Usage
- Clone the
nf-neuro
repository locally and open it inVS Code
- alternatively, use
VS Code
directly to clone the repository and pre-configure the environment
- alternatively, use
- Click on the blue box in the lower left corner, to get a prompt to
Reopen in container
- alternatively, open the command palette with
ctrl+shit+P
and start typingReopen in ...
to filter in and select the command
- alternatively, open the command palette with
- Select the
devops
devcontainer
The procedure will start a docker build, wait for a few minutes and enjoy your fully configured development environment.
Available in the container
nf-neuro
,nf-core
all accessible through the terminal, which is configured to load thepoetry
environment in shells automaticallynf-neuro
configured as the main repository for allnf-core
commands, usingNFCORE_-
environment variablesgit
,github-cli
curl
,wget
,apt-get
nextflow
,nf-test
,docker
,tmux
Available in the VS Code IDE through extensions
- Docker images and containers management
- Nextflow execution environemnt
- Python and C++ linting, building and debugging tools
- Github Pull Requests management
- Github flavored markdown previewing
- Neuroimaging data viewer
- Test Data introspection
- Resource monitoring
- Remote development
- Live sharing with collaborators