odtp-org / odtp

ODTP: A tool designed to manage, run, and design digital twins.
https://odtp-org.github.io/odtp-manuals/
GNU Affero General Public License v3.0
10 stars 1 forks source link

[Installation] Failure to execute ODTP image #140

Closed albma352 closed 3 months ago

albma352 commented 3 months ago

Environment

Bug description

Summary:

docker compose build --no-cache builds the container successfully. However, when running the next step docker exec -it odtp-odtp-1 odtp setup initiate an error message is displayed: Error response from daemon: No such container: odtp-odtp-1.

Steps to reproduce the bug:

  1. Follow tutorial on ubuntu until step 7

Supporting information

There is a docker container named odtp visible when running docker image ls however, even when changing the command that fails to run to docker exec -it odtp odtp setup initiate a similar error message is shown (odtp container not found).

caviri commented 3 months ago

Hello @albma352, sorry for the delay.

Thanks for trying the tutorial. I recognize that the documentation has not been updated. Can you try the following:

  1. Build the docker containers
docker-compose build --no-cache  

Now you can run the component with

docker compose up -d

Then run the tool in the CLI or the GUI using the following:

docker exec -it odtp-odtp-1 sh

or

docker exec -it odtp-odtp-1 odtp dashboard 
albma352 commented 3 months ago

Hi @caviri, thank you for your reply. This resolved the issue. Thank you. fyi @jugdemon