Skip to content

unable to parse template: template: docker-gen:2208: unexpected unrecognized character in action: U+0000 in command #50

@udono

Description

@udono

Hi,
I am not sure if this issue is related to docker-gen.
When I try to run your examples with http://fig.sh I get the following error message:

dockergen_1 | 2014/12/21 14:14:37 unable to parse template: template: docker-gen:2208: 
unexpected unrecognized character in action: U+0000 in command

My fig.yml looks like this:

    nginx:
      image: nginx
      volumes:
        - /tmp/nginx:/etc/nginx/conf.d
      ports:
        - "80:80"

    dockergen:
      image: jwilder/docker-gen:0.3.6
      command: /usr/local/bin/docker-gen -notify-sighup nginx -watch --only-published /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
      volumes:
        - /var/run/docker.sock:/tmp/docker.sock
        - /tmp/templates:/etc/docker-gen/templates
      volumes_from:
        - nginx

Ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions