Skip to content

Instantly share code, notes, and snippets.

@laurelgr
Created February 25, 2021 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laurelgr/2226c0803d5b04a8063837ad9654f58f to your computer and use it in GitHub Desktop.
Save laurelgr/2226c0803d5b04a8063837ad9654f58f to your computer and use it in GitHub Desktop.
Gitpod tasks waiting for docker-daemon to start
tasks:
- name: docker-daemon
before: sudo docker-up
- name: docker-container
before:
echo 'Waiting for docker daemon to start' &&
until docker info &> /dev/null; do sleep 1; done;
init:
echo 'Do docker build/run mycontainer'
command:
echo 'docker start mycontainer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment