reorder docker startup commands
This commit is contained in:
parent
89807efc92
commit
343b90056b
1 changed files with 2 additions and 2 deletions
|
@ -23,14 +23,14 @@ jobs:
|
||||||
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
apt-get install -qq -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin=2.20.2-1~debian.11~bullseye
|
apt-get install -qq -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin=2.20.2-1~debian.11~bullseye
|
||||||
docker version
|
|
||||||
apt-get install -qq -y docker-compose-plugin=2.20.2-1~debian.11~bullseye
|
apt-get install -qq -y docker-compose-plugin=2.20.2-1~debian.11~bullseye
|
||||||
docker compose version
|
|
||||||
|
|
||||||
- name: Start Docker
|
- name: Start Docker
|
||||||
run: |
|
run: |
|
||||||
systemctl start docker
|
systemctl start docker
|
||||||
systemctl status docker
|
systemctl status docker
|
||||||
|
docker version
|
||||||
|
docker compose version
|
||||||
|
|
||||||
- name: run the example
|
- name: run the example
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue