Git Product home page Git Product logo

Comments (4)

yosifkit avatar yosifkit commented on June 3, 2024

I'm not getting this problem on the same image ID. I thought line 11-14 was supposed to solve this and prevent numactl from running if it was not available.

$ docker run -it --rm mongo bash
root@ace8d08d5ec1:/# which numactl
/usr/bin/numactl

$ docker run -it --rm debian
root@077255e8cec2:/# which numactl
root@077255e8cec2:/# 

$ docker images mongo
mongo               latest              59b3d123f9b8        2 weeks ago         392.4 MB

Have you tried removing the image (docker rmi) and docker pulling again? Make sure to remove all tags that point to the same ID and any images that are FROM it so that the layers actually get deleted.

from mongo.

chadmott avatar chadmott commented on June 3, 2024

I'm having the same issue, on a newly created EC2 instance Docker build 786b29d/1.7.1

Operating System: Amazon Linux AMI 2015.09
...
Digest: sha256:223d59692269be18696be5c4f48e3d4117c7f11e175fe760f6b575387abc1bba
Status: Downloaded newer image for mongo:latest
$ docker run --name some-mongo -v /home/somedir/mongo_data:/data/db -d mongo
f6df4673a16f478bd0e83e12845f23c5a1c3fdf1ccf1a7cee0718636fbab88d0
$ docker logs f6
error: exec: "numactl": executable file not found in $PATH

Any thoughts?

Update
Seems like the docker version 1.7.1 plus Amazon Linux host combo is to blame (not sure which), as the image works on Ubuntu 14.04 and Docker 1.9

from mongo.

tianon avatar tianon commented on June 3, 2024

This sounds suspiciously like image layer corruption -- have you tried completely purging all the related layers (especially the one that actually includes the numactl binary) and re-pulling?

from mongo.

chadmott avatar chadmott commented on June 3, 2024

@tianon yes I did, and it didn't work, though I suppose some sort of image caching could have been in play... Not sure. I've since upgraded host/docker and it is fine tho

from mongo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.