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
| containers: | |
| - name: APP_NAME | |
| image: "DOCKER_IMAGE_NAME" | |
| ports: | |
| - name: http | |
| containerPort: 3000 | |
| volumeMounts: | |
| - name: share | |
| mountPath: /var/lib/ | |
| volumes: |
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
| Driver Support Required: | |
| 1. Display | |
| 2. 3D hardware acceleration support | |
| 3. Audio | |
| 4. Webcam | |
| 5. Video-game controller | |
| http://somatorio.org/en/post/running-gui-apps-with-docker/ | |
| https://blog.qmo.io/the-perfect-media-server-with-docker-plex-and-automatic-bittorrent/ |
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
| #import-module "Microsoft.TeamFoundation.DistributedTask.Task.Common" | |
| $uri = "$($env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI)$env:SYSTEM_TEAMPROJECT/_apis/build/builds/$($env:BUILD_BUILDID)?api-version=2.0" | |
| Write-Verbose "URI: $uri" | |
| $body = "{keepForever:true}" | |
| $result = Invoke-RestMethod -Uri $uri -Method Patch -ContentType "application/json" -Headers @{Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN"} -Body $body | |
| Write-Output "RESULT: $result" |
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
| input_list = [] | |
| while True: | |
| input_str = input() | |
| if input_str == "": | |
| break | |
| else: | |
| input_list.append(input_str) | |
| #print(input_list) |
OlderNewer