Last active
November 3, 2020 02:52
-
-
Save punkrocker178/4eacf2d344e74dd7ac34615b1f6867a3 to your computer and use it in GitHub Desktop.
Docker container related commands
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
# 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 |
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
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