Skip to content
box

GitHub Action

setup-docker

v1 Latest version

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/actions-setup-docker@v1

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
      timeout-minutes: 12
    - run: |
        set -x

        docker version

        docker run --rm hello-world