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.

Checklist

  • I’m reporting a bug in Sherlock’s functionality
  • The bug I’m reporting is not a false positive or a false negative
  • I’ve verified that I’m running the latest version of Sherlock
  • I’ve checked for similar bug reports including closed ones
  • I’ve checked for pull requests that attempt to fix this bug

Description

  1. Cloned repo
  2. Built Docker Image
docker build -t mysherlock-image .
  1. tried to use
docker run --rm -t mysherlock-image username
Traceback (most recent call last):
  File "sherlock.py", line 11, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.7/site-packages/pandas/__init__.py", line 50, in <module>
    from pandas.core.api import (
  File "/usr/local/lib/python3.7/site-packages/pandas/core/api.py", line 48, in <module>
    from pandas.core.groupby import (
  File "/usr/local/lib/python3.7/site-packages/pandas/core/groupby/__init__.py", line 1, in <module>
    from pandas.core.groupby.generic import (
  File "/usr/local/lib/python3.7/site-packages/pandas/core/groupby/generic.py", line 73, in <module>
    from pandas.core.frame import DataFrame
  File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 129, in <module>
    from pandas.core import (
  File "/usr/local/lib/python3.7/site-packages/pandas/core/generic.py", line 144, in <module>
    from pandas.core.window import (
  File "/usr/local/lib/python3.7/site-packages/pandas/core/window/__init__.py", line 1, in <module>
    from pandas.core.window.ewm import (  # noqa:F401
  File "/usr/local/lib/python3.7/site-packages/pandas/core/window/ewm.py", line 11, in <module>
    import pandas._libs.window.aggregations as window_aggregations
ImportError: Error loading shared library libstdc++.so.6: No such file or directory (needed by /usr/local/lib/python3.7/site-packages/pandas/_libs/window/aggregations.cpython-37m-x86_64-linux-gnu.so)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Murithijoshuacommented, Jul 22, 2022

suggestion

Currently, we are building this service using Alpine. This however has its downside, that can lead to longer build times, obscure bugs, and performance issues.

what we can do

  • try using Ubuntu LTS, RedHat Universal Base Image, Debian as base image. This will guarantee portability on all devices
1reaction
sdushanthacommented, Sep 30, 2022

@NeoLight1010 If this fixes the issue, feel free to send a PR 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker run failed to run the container - Stack Overflow
I ran your docker file by copying a simple shell script which prints "hello" on to console. It ran successfully.
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 >
How can I debug a docker container initialization? - Server Fault
First start docker events in the background to see whats going on. docker events&. Then run your failing docker run ... command. Then...
Read more >
6 ways to debug an exploding Docker container - Medium
6 ways to debug an exploding Docker container. Everything crashes. Sometimes things crash when they're running inside a Docker container though, and then...
Read more >
Docker Container Run Fails · Issue #1118 - GitHub
In the master repo it does seem to be broken once again. > docker run cloudsploit:0.0.1 -h docker: Error response from daemon: failed...
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