from bundlewrap.metadata import metadata_to_json files['/etc/docker/daemon.json'] = { 'content': metadata_to_json({ 'iptables': False, }), 'before': { 'pkg_apt:docker-ce', 'pkg_apt:docker-ce-cli', } }