August 15, 20223 yr hey all. Just adding a container/docker to unraid and it has an option cap_add: - NET_ADMIN Where to I put that? Is it an enviroment, post, additional?
August 15, 20223 yr Which container? There should be a support link in the Apps tab card for the container, if you already installed it there will be a support link in the icon drop down in the Unraid GUI. Take a look at the support link and see if your question is answered there, typically in the first post of the thread or linked there.
August 16, 20223 yr Actually I am using a docker image external to Unraid. I just dont have the knowledge to workout what each part of the compose file reprosents and then put it in the correct place for the unraid options. I am used to using the Unraid docker interface but I am missing the bits where the Hostname and Domain name go? I cant workout if its a vaiable or whatever. the paths and posts are fine services: mailserver: image: docker.io/mailserver/docker-mailserver:latest container_name: mailserver # If the FQDN for your mail-server is only two labels (eg: example.com), # you can assign this entirely to `hostname` and remove `domainname`. hostname: mail domainname: example.com env_file: mailserver.env # More information about the mail-server ports: # https://docker-mailserver.github.io/docker-mailserver/edge/config/security/understanding-the-ports/ # To avoid conflicts with yaml base-60 float, DO NOT remove the quotation marks. ports: - "25:25" # SMTP (explicit TLS => STARTTLS) - "143:143" # IMAP4 (explicit TLS => STARTTLS) - "465:465" # ESMTP (implicit TLS) - "587:587" # ESMTP (explicit TLS => STARTTLS) - "993:993" # IMAP4 (implicit TLS) volumes: - ./docker-data/dms/mail-data/:/var/mail/ - ./docker-data/dms/mail-state/:/var/mail-state/ - ./docker-data/dms/mail-logs/:/var/log/mail/ - ./docker-data/dms/config/:/tmp/docker-mailserver/ - /etc/localtime:/etc/localtime:ro restart: always stop_grace_period: 1m cap_add: - NET_ADMIN healthcheck: test: "ss --listening --tcp | grep -P 'LISTEN.+:smtp' || exit 1" timeout: 3s retries: 0 https://github.com/docker-mailserver/docker-mailserver/blob/master/docker-compose.yml
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.