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.

Docker image not working

See original GitHub issue

When I access localhost:8080 everything is blank. I started the docker image without -d to see the output and it’s a bunch of java errors. Is this image maitained?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dularioncommented, Apr 9, 2019

One thing to note: in the new 1.6.3 release, it is a .jar file instead of .war for performance reasons (jar yields faster startup time among other things). In our dockerfile this was changed to .jar, but if you use a custom dockerfile make sure to change that

1reaction
Ovski4commented, Feb 1, 2019

I think documentation is a bit lacking for the docker setup.

If it can help whoever come across this issue here is a docker-compose file that made it for me:


version: '3'

services:

  mysql:
    image: mysql:5.7.24
    environment:
      MYSQL_ROOT_PASSWORD: streama_root_password
      MYSQL_USER: streama
      MYSQL_DATABASE: streama
      MYSQL_PASSWORD: streama_password

  streama:
    image: gkiko/streama:v1.6.0-FINAL
    ports:
      - 8080:8080
    volumes:
      - /path/to/local/videos:/data/local
    environment:
      ACTIVE_PROFILE: mysql
      MYSQL_HOST: mysql
      MYSQL_PORT: 3306
      MYSQL_DB: streama
      MYSQL_USER: streama
      MYSQL_PASSWORD: streama_password

Just run docker-compose up -d and browse http://localhost:8080

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker image not working or running properly - Stack Overflow
The container isn't running. All the means is that it exited. When the container is run, the entrypoint line will be called, ...
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 >
Why am i unable to run docker image by its name?
$ sudo docker run -it --rm one Unable to find image 'one:latest' locally docker: Error response from daemon: pull access denied for one, ......
Read more >
Run your CI/CD jobs in Docker containers - GitLab Docs
To run CI/CD jobs in a Docker container, you need to: Register a runner so that all jobs run in ... However, that...
Read more >
How to Debug and Fix Common Docker Issues - DigitalOcean
Unfortunately, problems may arise when building your image and integrating all of the layers that your app needs, especially if you're new to ......
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