<div dir="ltr">Hi Kyle,<div><br></div><div>I believe you need to use the i option (interactive) to be able to let docker accept your input. e.g. docker exec -it zanata bash. However if modification is done this way it won't persist. In fact I just checked our Dockerfile, we do support customization of the mail host, port, and credential. SeeĀ <a href="https://github.com/zanata/zanata-docker-files/tree/master/zanata-server">https://github.com/zanata/zanata-docker-files/tree/master/zanata-server</a> under Setup Environment.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 8, 2018 at 8:29 AM, Kyle <span dir="ltr"><<a href="mailto:kyle@free2.ml" target="_blank">kyle@free2.ml</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to set up the Zanata Docker container, but I can't change the mail host. Apparently it's supposed to communicate with the smtp host via an internal IP, but I had it set to localhost, which isn't working. The only thing I found that should allow me to change the mail host is to edit /opt/jboss/wildfly/standalone/<wbr>configuration/standalone.xml. The problem is that I can't edit the file externally, as my Docker container has 3 such files, and they're all under /var/lib/docker/aufs/something<wbr>/verylongstringoflettersandnum<wbr>bers/opt/jboss/... I tried editing the file from inside of the container, but neither bash nor vi will accept any keyboard input, even if I use<br>
docker exec -t zanata /bin/bash<br>
or<br>
docker exec -t zanata /bin/vi<br>
Is there another way I should be changing the mail host in the container, something like a web configuration or similar, or am I doing something else wrong when trying to edit the file inside of the container? Thanks for any help.<br>
Imetumwa kutoka komputa yangu<br>
<br>
______________________________<wbr>_________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com" target="_blank">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/zanata-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Patrick Huang <br>Senior Software Engineer <br>Engineering - Internationalisation<br>Red Hat, Asia-Pacific Pty Ltd <br>Level 1, 193 North Quay <br>Brisbane 4000 <br>Office: +61 7 3514 8278 <br>Fax: +61 7 3514 8199 <br>IRC: pahuang<br>github: <a href="http://github.com/huangp" target="_blank">github.com/huangp</a><br>Website: <a href="http://www.redhat.com" target="_blank">www.redhat.com</a> <br></div></div>
</div>