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
|
||||
on: [push]
|
||||
jobs:
|
||||
Explore-GitHub-Actions:
|
||||
RunDockerInDocker:
|
||||
runs-on: ubuntu-latest
|
||||
container: node:18
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
docker run hello-world
|
||||
- uses: addnab/docker-run-action@v3
|
||||
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 }}."
|
||||
|
|
Loading…
Reference in New Issue
Block a user