Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xargs: unmatched single quote #14

Closed
cristobaltapia opened this issue Oct 14, 2018 · 2 comments
Closed

xargs: unmatched single quote #14

cristobaltapia opened this issue Oct 14, 2018 · 2 comments
Labels
question General question status:confirmed Issue is confirmed

Comments

@cristobaltapia
Copy link

I am getting the following error when running the container:

$ docker-compose up
Creating network "docker-bind_default" with the default driver
Creating docker-bind_bind_1 ... done
Attaching to docker-bind_bind_1
bind_1  | [INFO] Debug level: 1
bind_1  | [INFO] Using default DNS TTL time: 3600 sec
bind_1  | [INFO] Using default DNS Refresh time: 1200 sec
bind_1  | [INFO] Using default DNS Retry time: 180 sec
bind_1  | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1  | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1  | xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
docker-bind_bind_1 exited with code 1

I used the following docker-compose.yml to run it:

version: '2'

services:
  bind:
    build: .
    restart: always
    ports:
      - "53:53/udp"
      - "53:53/tcp"
    environment:
      - WILDCARD_DNS='loc=192.168.1.103'
@cytopia
Copy link
Owner

cytopia commented Oct 14, 2018

Remove the single quotes. Docker Compose will treat them as actual characters:

-      - WILDCARD_DNS='loc=192.168.1.103'
+      - WILDCARD_DNS=loc=192.168.1.103

@cristobaltapia
Copy link
Author

That was it. Thanks! :)

@dvlbot dvlbot added status:confirmed Issue is confirmed question General question labels Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question status:confirmed Issue is confirmed
Projects
None yet
Development

No branches or pull requests

3 participants