Skip to content

Instantly share code, notes, and snippets.

@punkrocker178
Last active November 3, 2020 02:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save punkrocker178/4eacf2d344e74dd7ac34615b1f6867a3 to your computer and use it in GitHub Desktop.
Save punkrocker178/4eacf2d344e74dd7ac34615b1f6867a3 to your computer and use it in GitHub Desktop.
Docker container related commands
# Start a one time container
# Can be used for npm install or run apps
# You can omit the ports if you do npm install
docker run -it --rm -p 4200:4200 --name node-container -v "$PWD":/your-app/ -w /your-app/ node:14.12-stretch command
version: '3.5'
services:
teamcity-server:
image: jetbrains/teamcity-server:latest
volumes:
- ./server/data:/data/teamcity_server/datadir
- ./server/log:/opt/teamcity/logs
ports:
- 8080:8111
teamcity-agent:
image: jetbrains/teamcity-agent:latest
volumes:
- ./agent/config:/data/teamcity_agent/conf
environment:
- SERVER_URL=teamcity-server:8111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment