Thank you so much for the reply, currently when i try to raise the docker compose im getting this error
root@hera:~# docker-compose up
Creating network "root_default" with the default driver
Creating root_samba_1 ...
ERROR: for root_samba_1 No closing quotation
ERROR: for samba No closing quotation
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 203, in perform_command
File "compose/metrics/decorator.py", line 18, in wrapper
File "compose/cli/main.py", line 1186, in up
File "compose/cli/main.py", line 1182, in up
File "compose/project.py", line 702, in up
File "compose/parallel.py", line 108, in parallel_execute
File "compose/parallel.py", line 206, in producer
File "compose/project.py", line 688, in do
File "compose/service.py", line 564, in execute_convergence_plan
File "compose/service.py", line 480, in _execute_convergence_create
File "compose/parallel.py", line 108, in parallel_execute
File "compose/parallel.py", line 206, in producer
File "compose/service.py", line 478, in <lambda>
File "compose/service.py", line 457, in create_and_start
File "compose/service.py", line 341, in create_container
File "compose/container.py", line 48, in create
File "docker/api/container.py", line 428, in create_container
File "docker/api/container.py", line 433, in create_container_config
File "docker/types/containers.py", line 703, in __init__
File "docker/utils/utils.py", line 464, in split_command
File "shlex.py", line 310, in split
File "shlex.py", line 299, in __next__
File "shlex.py", line 109, in get_token
File "shlex.py", line 191, in read_token
ValueError: No closing quotation
[10101] Failed to execute script docker-compose
this is the docker compose file
root@hera:~# cat docker-compose.yml
version: '3.4'
services:
samba:
image: dperson/samba
networks:
- default
ports:
- "137:137/udp"
- "138:138/udp"
- "139:139/tcp"
- "445:445/tcp"
read_only: true
tmpfs:
- /tmp
restart: unless-stopped
stdin_open: true
tty: true
volumes:
- /folder/mnt2:/mnt2:z
command: '-S -s "scan;/mnt2;yes;yes;no;user;none;scaner;Scanner-Share" -u "scaner;12345" -u "user;54321 -p -n'
networks:
default:
then it seemed that i had to add a " end of the “user;mypassword”
then it was able to go up the container
But whats odd is that i try to access the share i put in the username and password of the scaner it keeps asking it
as if its incorrect which is very odd
Thank you