Skip to content

Instantly share code, notes, and snippets.

@ssbarnea
Created January 15, 2019 20:21
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 ssbarnea/c6100ec231055a5c861acbfebe089108 to your computer and use it in GitHub Desktop.
Save ssbarnea/c6100ec231055a5c861acbfebe089108 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ansible-playbook
- hosts: localhost
gather_facts: no
tasks:
- docker_container:
name: test
hostname: test
# image: "centos:7"
image: "fedora:28"
debug: true
# reproduces:
# Error creating container: 400 Client Error: Bad Request ("No command specified")
# centos:7 works
# fedora:28 chokes!
# fedora:29 chokes!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment