This file contains hidden or 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
| # Root. | |
| $ docker exec -u 0 i -t {container_id/image_name} bash | |
| or | |
| # Default container's user. | |
| $ docker exec i -t {container_id/image_name} bash |
This file contains hidden or 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
| Master - jenkins-master-docker-compose.yml | |
| jenkins_app: | |
| image: jenkins:2.60.1 | |
| container_name: jenkins_master | |
| restart: always | |
| ports: | |
| - "80:8080" |
This file contains hidden or 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" | |
| networks: | |
| chat: | |
| services: | |
| # Launch the Redis used for syncing messages between copies of the client app | |
| redis: | |
| image: redis | |
| networks: | |
| - chat |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| VERSION="${1#[vV]}" | |
| VERSION_MAJOR="${VERSION%%.*}" | |
| VERSION_MINOR_PATCH="${VERSION#*.}" | |
| VERSION_MINOR="${VERSION_MINOR_PATCH%%.*}" | |
| VERSION_PATCH_PRE_RELEASE="${VERSION_MINOR_PATCH#*.}" | |
| VERSION_PATCH="${VERSION_PATCH_PRE_RELEASE%%[-+]*}" | |
| VERSION_PRE_RELEASE="" |
OlderNewer