Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
box

GitHub Action

setup-docker

1.0.5

setup-docker

box

setup-docker

Set up your GitHub Actions workflow with a specific version of Docker

Installation

Copy and paste the following snippet into your .yml file.

              

- name: setup-docker

uses: docker-practice/[email protected]

Learn more about this action in docker-practice/actions-setup-docker

Choose a version

setup-docker

Support Linux and macOS

Example please see

Quick Start

on:
  push

name: ci

jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
    - uses: docker-practice/actions-setup-docker@master
    - run: |
        set -x

        docker version

        docker run --rm hello-world