Skip to content

Healthchecks issue #69

Description

@crashedthecymbal

Portainer is showing me the samba container is in an "unhealthy" state. Not sure how to fix that issue.
Although the shares are all working fine without any issues, the healthchecks need to be changed somehow.

Screenshot:
Image

Docker compose file:

services:
  samba:
    image: dockurr/samba
    # image: dperson/samba
    container_name: samba
    env_file: .samba.env
    ports:
      - 445:445
    volumes:
      - /samba/share/:/storage
      - /some/folder/conf/smb.conf:/etc/samba/smb.conf
    restart: always

samba.env file:

NAME=SHARE_1
USER=user1
PASS=mypassword
UID=1000
GID=1000

smb.conf file:

[global]
	server string = SHARE_1 - 192.168.1.100
	netbios name = SHARE_1

 	printing = bsd
 	printcap name = /dev/null
 	load printers = no
 	disable spoolss = yes

	server smb encrypt = required
	server signing = mandatory

	client min protocol = SMB3
	client max protocol = SMB3
	client smb encrypt = required
	client signing = required

	hosts allow = 192.168.1.0/24

[SHARE_1]
	path = /storage
	read only = no

	valid users = user1

	inherit acls = yes
	inherit owner = yes

users.conf file:

#username:UID:groupname:GID:password:homedir
user1:1000:SHARE_1:1000:mypassword

Any idea how to change the healthchecks?

Probably related to:

"The healthcheck fails for me because smbclient also exists with a non zero error when "NT_STATUS_ACCESS_DENIED" is returned (e.g. no anonymous access)."

crazy-max/docker-samba#141

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions