Code Monkey home page Code Monkey logo

Comments (8)

rskuipers avatar rskuipers commented on June 14, 2024 1

Yep, helm and kubectl work perfectly :-)

rehash also didn't do anything.

from binenv.

leucos avatar leucos commented on June 14, 2024

Hello @rskuipers ; sorry to here you ran into an issue.

Are you on bash/linux ?

Do you have this issue only with docker-compose ?

Can you type docker-compose to see where it points to and run hash -r so bash rehashes it's binary cache ?

from binenv.

rskuipers avatar rskuipers commented on June 14, 2024

I'm on ZSH.

$ type docker-compose
docker-compose is /home/rick/.binenv/docker-compose

hash -r unfortunately didn't do anything

from binenv.

leucos avatar leucos commented on June 14, 2024

yes it is rehash on zsh.

did you try installing anything else with binenv ?

from binenv.

leucos avatar leucos commented on June 14, 2024

Must admit I never tried docker-compose since I have it on my system by default.
I will try to reproduce this asap (a bit busy right now)

from binenv.

rskuipers avatar rskuipers commented on June 14, 2024

@leucos All good, I appreciate your work :-)

from binenv.

leucos avatar leucos commented on June 14, 2024

@rskuipers I guess this wont work with docker-compose.
It seems to be some python-packaged executable.
From the strace I see, it re-opens itself, seeks the file and does some magic.

openat(AT_FDCWD, "/usr/bin/docker-compose", O_RDONLY) = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=420, ...}) = 0
ioctl(3, TCGETS, 0x7ffc80e89770)        = -1 ENOTTY (Ioctl() inapproprié pour un périphérique)
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=420, ...}) = 0
read(3, "#!/usr/bin/python3\n# EASY-INSTAL"..., 4096) = 420
lseek(3, 0, SEEK_SET)                   = 0
read(3, "#!/usr/bin/python3\n# EASY-INSTAL"..., 4096) = 420
read(3, "", 4096) 

So unfortunately, I am afraid that we doomed for docker-compose 😞
Sorry for misleading you (and for not properly testing this in the first place).
We will remove it from distributions now.

You can restore usage of you already-installed docker-compose like so (replace hash -r by rehash in your case):

$ docker-compose 
[1688266] Cannot open self /home/leucos/.binenv/docker-compose or archive /home/leucos/.binenv/docker-compose.pkg
$ binenv uninstall docker-compose 
WARNING: this will remove *ALL* versions for "docker-compose". Type "docker-compose" to confirm [oh now I changed my mind]: docker-compose
2020-12-03T21:00:40+01:00 WRN removed version "1.27.4" for "docker-compose"
$ hash -r
$ docker-compose -v
docker-compose version 1.21.0, build unknown

from binenv.

rskuipers avatar rskuipers commented on June 14, 2024

@leucos That's alright!

Thank you for your work and time.

from binenv.

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.