Skip to content

Support for installing docker on the runner #9

@MattIPv4

Description

@MattIPv4

GitHub Actions workflows often require docker to run successfully.

It'd be great if this scripting provided an option to install docker as part of the setup process.

To manually install docker on the machine once created with terraform, I had to run:

sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

(From https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions