give containers a hostname

this only affects the hostname and not the network name/alias
This commit is contained in:
Girish Ramakrishnan
2019-06-01 09:36:35 -07:00
parent f3ccd5c074
commit 4c1e967dad
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ function startSftp(existingInfra, callback) {
if (existingInfra.version === infra.version && infra.images.graphite.tag === existingInfra.images.graphite.tag) return callback();
const cmd = `docker run --restart=always -d --name="sftp" \
--hostname sftp \
--net cloudron \
--net-alias sftp \
--log-driver syslog \