Compare commits
3 Commits
cf9c01b06a
...
c09cb3d374
Author | SHA1 | Date | |
---|---|---|---|
c09cb3d374 | |||
825fac41b1 | |||
092f821553 |
@ -2,7 +2,7 @@ FROM nginx:1.29.0
|
|||||||
|
|
||||||
COPY entrypoint.sh /custom-docker-entrypoint.sh
|
COPY entrypoint.sh /custom-docker-entrypoint.sh
|
||||||
|
|
||||||
COPY index.html /usr/share/nginx/html/index.html
|
COPY index.html /usr/share/nginx/html/index.html.tmpl
|
||||||
|
|
||||||
RUN ["chmod", "a+x", "/custom-docker-entrypoint.sh"]
|
RUN ["chmod", "a+x", "/custom-docker-entrypoint.sh"]
|
||||||
|
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
<title>Docker Debugging Disco – Challenge ${CHALLENGE}</title>
|
<title>Docker Debugging Disco – Challenge ${CHALLENGE}</title>
|
||||||
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪩</text></svg>">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Far out! Challenge ${CHALLENGE} complete 🕺</h1>
|
<h1>Far out! Challenge ${CHALLENGE} complete 🕺</h1>
|
||||||
|
<p>
|
||||||
|
Now hit <code>Ctrl+C</code>, then run <code>docker-compose down</code> and move on to the next challenge!
|
||||||
|
</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
11
1/docker-compose.yml
Normal file
11
1/docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
# Nice and simple, this challenge just tests that things are working correctly.
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: git.autonomic.zone/autonomic-cooperative/docker-debugging-disco:0.1.0
|
||||||
|
ports:
|
||||||
|
- 8000:80
|
||||||
|
environment:
|
||||||
|
- CHALLENGE=1
|
||||||
|
|
@ -6,9 +6,9 @@ Bust some docker troubleshooting moves 🕺
|
|||||||
|
|
||||||
- [ ] [Install Docker](https://docs.docker.com/engine/install/)
|
- [ ] [Install Docker](https://docs.docker.com/engine/install/)
|
||||||
- [ ] Clone this repository
|
- [ ] Clone this repository
|
||||||
- [ ] Make sure you have ~1GB free disk space
|
- [ ] Make sure you have ~100MB free disk space
|
||||||
|
|
||||||
## Start the jam
|
## Start the jam
|
||||||
|
|
||||||
Each numbered subfolder contains a funky docker challenge.
|
Each numbered subfolder contains a funky docker challenge.
|
||||||
|
|
||||||
@ -22,3 +22,7 @@ docker compose up
|
|||||||
```
|
```
|
||||||
|
|
||||||
NOTE: if you get a Docker error message running `docker compose`, you might be on a vintage version of Docker – no worries, either update if possible, or [install Docker Compose Standalone](https://docs.docker.com/compose/install/standalone/) and run `docker-compose` (with a hyphen) instead
|
NOTE: if you get a Docker error message running `docker compose`, you might be on a vintage version of Docker – no worries, either update if possible, or [install Docker Compose Standalone](https://docs.docker.com/compose/install/standalone/) and run `docker-compose` (with a hyphen) instead
|
||||||
|
|
||||||
|
## Trouble on the dancefloor?
|
||||||
|
|
||||||
|
Check out `docker-compose.yml` in each challenge directory for hints.
|
||||||
|
Reference in New Issue
Block a user