Last active
January 6, 2016 12:56
-
-
Save Andorbal/7232858892662745605d to your computer and use it in GitHub Desktop.
Docker command to start an interactive dotnet session
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming you have Docker installed (https://docs.docker.com/linux/), you can run this as step zero of the 'Running the code' section of the tutorial at http://numl.net/getting-started/ | |
docker run -it --name dotnet-numl -v "$PWD":/myapp -w /myapp microsoft/dotnet:latest | |
Then, you can run: | |
dotnet restore | |
dotnet run | |
If you've already created the container, then you can start and attach to it using: | |
docker start -ai dotnet-numl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment