spawn more docker containers and control their networking
This commit is contained in:
parent
b6adff6862
commit
882afdd0c9
13
.github/workflows/docker_demo.yml
vendored
13
.github/workflows/docker_demo.yml
vendored
|
@ -1,11 +1,18 @@
|
||||||
name: Docker demo
|
name: Docker demo
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
Explore-GitHub-Actions:
|
RunDockerInDocker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: node:18
|
container: node:18
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
- uses: addnab/docker-run-action@v3
|
||||||
docker run hello-world
|
with:
|
||||||
|
image: ubuntu:latest
|
||||||
|
options: --mac-address 08:00:27:68:c9:35
|
||||||
|
run: |
|
||||||
|
echo "blah"
|
||||||
|
apt update
|
||||||
|
apt install -y iproute2
|
||||||
|
ip addr
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user