Mentions légales du service

Skip to content
Snippets Groups Projects

[Docker] Adding Docker build

Merged Vicente Mataix Ferrándiz requested to merge docker/add-docker-machine into master
All threads resolved!
1 file
+ 13
1
Compare changes
  • Side-by-side
  • Inline
+ 13
1
@@ -33,6 +33,8 @@ This is an introductory lecture to the modern way of programming C++; at the end
## How to run it?
### Local installation
As this tutorial relies heavily on [Xeus-cling kernel](https://github.com/QuantStack/xeus-cling), the only requirement is to install this environment on your machine.
Unfortunately, the support of this kernel is still experimental on Windows; I advise you to use any variant of Linux or macOS (for Windows 10 users you may [install Ubuntu in your Windows session](https://tutorials.ubuntu.com/tutorial/tutorial-ubuntu-on-windows); I haven't tried this myself).
@@ -43,7 +45,7 @@ Should the procedure described below not work at some point I invite you to chec
* Create a new conda environment and activate it:
```
conda env create -f environment.yml
conda env create -f environment.yml
conda activate formation_cpp
```
@@ -62,3 +64,13 @@ __BEWARE__: I **strongly advise** to use a dedicated environment for the noteboo
__NOTE__: It is possible to use the notebooks directly from some IDEs like [VSCode](https://gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp/-/wikis/home#using-notebooks-with-vscode).
### Docker machine
It is possible to execute the notebooks from a Docker machine by simply:
```
docker run -p 8888:8888 registry.gitlab.inria.fr/formations/cpp/gettingstartedwithmoderncpp:latest
```
The simply in your browser just simply go to [http://localhost:8888/](http://localhost:8888/).
Loading