Bug: Cmd Truncated in web interface when creating container

Discussion about Docker
Locked
User avatar
1dimitri
Posts: 18
Joined: 30 Jun 2021, 19:25

Bug: Cmd Truncated in web interface when creating container

Post by 1dimitri »

Hello
Some containers do not seem to have their cmd command field properly parsed when editing properties to create a container from an image or edit the properties of an existing image...

Steps to reproduce
1. select official registry =https://registry.hub.docker.com
2. download image boky/postfix (equivalent to github repo bokysan/docker-postfix)
3. create container from image
a. set port such as 10025 for 587
b. add environment variables
ALLOW_EMPTY_SENDER_DOMAINS=true
RELAYHOST=example.com:587
RELAYHOST_USERNAME=nobodycares
RELAYUSER_PASSWORD=something
3. Before applying notice that the command is set to "/bin/sh -c /run.sh" (without quotes)
4. Apply, then note that the container was created but not running
5. If you look at docker.log and go back to the interface you notice that the command is "-c /run.sh"
6. By contrast if using SSH you run sudo docker image inspect boky/postfix, you'll see the correct command.
User avatar
TMroy
TerraMaster Team
Posts: 2578
Joined: 10 Mar 2020, 14:04
China

Re: Bug: Cmd Truncated in web interface when creating container

Post by TMroy »

Thank you for your report. we will verify it here.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
1dimitri
Posts: 18
Joined: 30 Jun 2021, 19:25

Re: Bug: Cmd Truncated in web interface when creating container

Post by 1dimitri »

TMroy wrote: 10 Jul 2021, 12:01 Thank you for your report. we will verify it here.
Any ETA of you'll be able to check that bug report?
User avatar
TMroy
TerraMaster Team
Posts: 2578
Joined: 10 Mar 2020, 14:04
China

Re: Bug: Cmd Truncated in web interface when creating container

Post by TMroy »

It has been added to the list of "Bug need to be verified", waiting for feedback from the tech team.
Sorry, I forgot to ask, what is your model, please?
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
1dimitri
Posts: 18
Joined: 30 Jun 2021, 19:25

Re: Bug: Cmd Truncated in web interface when creating container

Post by 1dimitri »

TMroy wrote: 25 Jul 2021, 17:19 It has been added to the list of "Bug need to be verified", waiting for feedback from the tech team.
Sorry, I forgot to ask, what is your model, please?
F2-221, so we're on the x86 model range.
User avatar
1dimitri
Posts: 18
Joined: 30 Jun 2021, 19:25

Re: Bug: Cmd Truncated in web interface when creating container

Post by 1dimitri »

Still no ETA of bug fix?
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Bug: Cmd Truncated in web interface when creating container

Post by TMSupport »

Hi! It is already being repaired, please be patient.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked