senaite / senaite.docker

SENAITE Docker Container
GNU General Public License v2.0
49 stars 40 forks source link

Unable to access LIMS after restart #3

Closed sweizhong closed 3 years ago

sweizhong commented 3 years ago

Hi, I have installed senaite LIMS on my PC running Manjaro Linux. I was able to access the LIMS via http://localhost:8080 and setup a new LIMS, add user, method, instruments etc. All looked functioning well. However, I am unable to access it again after a PC restart. I tried running the following command again and it was a fresh installation without all previously added info. And it was again unaccessible after a restart.

$ git clone https://github.com/senaite/senaite.docker
$ cd senaite.docker/1.3.3
$ docker build -t senaite .
$ docker run --rm --name senaite -p 8080:8080 senaite

I tried to start the container and it says "No such container".

[simwc@sim-port]$ docker start senaite
Error response from daemon: No such container: senaite
Error: failed to start containers: senaite

I also list out the containers with sudo docker ps –a refering to https://phoenixnap.com/kb/how-to-list-start-stop-docker-containers. But the container built/installed gone missing after system reboot.

What did I missed out? Thank you in advance.

sweizhong commented 3 years ago

Ah.. Okay I got it. It's because of docker run --rm