How does docker gitlab configure to send mail

  docker, question
  1. Ubuntu 14.04 server installation doc
  2. Docker installs gitlab
  3. After all installations are successful, gitlab can be accessed normally via ip.
  4. The problem now is that messages cannot be sent in gitlab.
  5. How do I configure gitlab in docker to send mail?

    Thank you!

Enter gitlab doc’s container.

docker exec -it $container_id /bin/bash

Editing gitlab configuration files should be located in the /etc/gitlab/ directory as in the rpm version.
Configure information about your smtp server
retreat from

Restart gitlab doc

docker stop $container_id
 docker start $container_id