question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

The docker container doesn't work out of the box

See original GitHub issue

šŸ› Bug

Hello, First of all, thank you very much for the creazy amount of work put into this.

Currently, it seems like the docker setup fails. I get this message : Aborted! '/opt/aim' is not a valid Aim repository. Do you want to initialize it? [y/N]:

To reproduce

docker run -d -p 43800:43800 -v /testFolder:/opt/aim aimstack/aim

Expected behavior

The container running and listening on port 43800

Environment

  • Aim Version (e.g., 3.0.1) : None
  • Python version : None
  • pip version : None
  • OS (e.g., Linux) : Ubuntu 22.04
  • Any other relevant information Latest Docker image

Additional context

Is there a way to add a yes to everything paramter (something like apt-get install -y)?

Thank you very much in advance.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ilisparrowcommented, Jul 18, 2022

Hello, I had a deeper look. So I wanted to setup an aimstack instance on a machine then have other machines send data to it. If my understunding is good, there needs to be a server receiveing the data, writing it to the right folder. Then a docker ui displaying this data.

After creating a folder then doing a : aim init then running the docker containers with a volume linked to the initialised folder. It now runs without any error. But for some reason, I canā€™t get anything display on web browser. I get the connexion was reinnitialised.

It seems like the Docker part is not yet stable, I will limit my self to a locally hosted server and ui even if itā€™s not the best solution.

To answer your question, I wanted to track all experiments on a server and have training on a different server. I run the training in a normal python script not in a docker.

Thank you still for your answers and work !

Best regards, Ilias.

1reaction
ilisparrowcommented, Jul 14, 2022

Hello, Thank you for the fast reply. I see what the problem is (I will test it as soon as I have access to a computer). There needs to be an initialised aim on the host, so in my case :

  • Go to /testFolder
  • aim unit
  • Start the docker pointing at /testFolder

But what if I canā€™t install aim in the host? How can I init it without?

Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Docker image doesn't work out of the box #19
server, and triggered the DB tables creation. Ran npx sequelize-cli db:seed:all inside the container. After these steps, the Eauth isĀ ...
Read more >
Why Does My Docker Container Stop?
A Docker container exiting doesn't usually indicate that something is wrong. But, nevertheless, you might be wondering why it's exited!
Read more >
Why Kibana in Docker container doesn't work out of the box?
Hi, I'm trying to run Kibana for the first time. I'm using Docker. Here is my configuration: version: '3.7' services: elasticsearch: image:Ā ...
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >
Debugging docker container that won't start | by suprit shah
Docker exit code 1 indicates there is not enough memory to start a docker container. So the first thing you check is the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found