We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My docker-compose file:
version: "3.3" services: samba: container_name: samba image: dperson/samba ports: - "137:137/udp" - "138:138/udp" - "139:139/tcp" - "445:445/tcp" read_only: false tmpfs: - /tmp restart: unless-stopped stdin_open: true tty: true environment: - "PUID=1000" - "PGID=1000" - "TZ=${TZ}" env_file: .env deploy: resources: limits: cpus: '0.50' memory: 250M # pids: 1 reservations: cpus: '0.35' memory: 240M volumes: - /home/srv:/srv - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro command: # -s "<name;/path>[;browse;readonly;guest;users;admins;writelist;comment]" # -s "name;/path;no;no;no;example1" -s "srv;/srv;yes;no;yes" -p
got error /usr/bin/samba.sh: line 160: $2: unbound variable
/usr/bin/samba.sh: line 160: $2: unbound variable
The text was updated successfully, but these errors were encountered:
Remove the " characters
Sorry, something went wrong.
I had the same problem with k8s. I found that I set the wrong user name and password, its secret should be user; password form
user; password
# line 160 user() { local name="$1" passwd="$2" id="${3:-""}" group="${4:-""}" \
No branches or pull requests
My docker-compose file:
got error
/usr/bin/samba.sh: line 160: $2: unbound variable
The text was updated successfully, but these errors were encountered: