From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.1.3] (unknown [104.28.250.136]) by gnuweeb.org (Postfix) with ESMTPSA id D6C317E7C8; Sun, 1 May 2022 15:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1651417753; bh=VqGgytMjM3USRO775GxsjYeTvb8laCv3GCTTQJO0/Dg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=rYW4yPbM8hg74hk6aCQdCnCurWrjXAO1ZRC57pLScBX7UGDvwIA5BK42Phlg8GwMm AlIIIZ0jmAiXbzolldWFAhGuFb71/cvzhRxw8fI6myECKMFYp0TAHwGWKN5JubnsK6 Tddg2jh+8wL9nAdD26EES7s8q+DU3Ar32HcgenG/VrwJ0qsCGEJyzID9X8qye1lq74 L2HoL0uIg+SBaJt/52WY9wkfrIghOWVy+V+VPoPokM3YoZdnzQYYEqpUDFhjUHyWjY 7bguluofKo+xc+ooEiie6ib7z7YzoUtfR0m0p5y028N1lky8v7CNJ0WgGCovfIMujv C3yBz5ELckP/g== Message-ID: Date: Sun, 1 May 2022 22:09:05 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH server-a001 v2 4/4] Create start.sh to start the docker container Content-Language: en-US To: Ammar Faizi , GNU/Weeb Mailing List Cc: Hazmi Alfarizqi , Alviro Iskandar Setiawan References: <20220430170838.19571-1-ammarfaizi2@gnuweeb.org> <20220430170838.19571-5-ammarfaizi2@gnuweeb.org> <3001b4d2-04fa-a78f-dad0-c94ded55a90b@gnuweeb.org> <56526bc0-9e50-829c-2c17-5c6db7f22e1f@gnuweeb.org> From: Hazmi Alfarizqi In-Reply-To: <56526bc0-9e50-829c-2c17-5c6db7f22e1f@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 01/05/2022 20:45, Ammar Faizi wrote: > On 5/1/22 7:15 PM, Hazmi Alfarizqi wrote: >> On 01/05/2022 00:08, Ammar Faizi wrote: >>> Create a file named start.sh. This is a script to start the container >>> with prepared configuration. Only run this script on the host. >>> >>> Signed-off-by: Ammar Faizi >> >> It seems that `server-a001` gonna be the image name? I would assume we >> will build the Docker image from Dockerfile directly on the host. > > Yes for both sentences. Okay, I see. >> If not and the image will be pulled from some registry, the image name >> format would look like: [registry/]Username/Image[:tag] (Example: >> docker.io/username/image:latest). >> >> The tag is optional, the default tag would be latest. >> For the registry part, if it's docker.io (which is the default >> registry for Docker) it will be omitted on Docker, but not on Podman. > > We don't intend to push this image. > > What kind of changes do you recommend? > Keep it like this or add the "latest" tag? > Hmm, there's no need to add "latest" tag but for me, I prefer to add it. So yeah up to you. -- hzmi