Giter VIP home page Giter VIP logo

Comments (2)

blaise-io avatar blaise-io commented on May 24, 2024

Does Rancher offer the same CLI as Docker? If so, you need to make sure docker if available on your path, but it could just be an alias for Rancher. If it does not offer the same CLI, I likely won't support it in Ace Link.

from acelink.

chiva avatar chiva commented on May 24, 2024

@blaise-io rancher is pretty much an in-place replacement for docker, and mimics docker very closely

$ docker context inspect --format '{{.Endpoints.docker.Host}}'
unix:///Users/my_user/.rd/docker.sock
$ docker context inspect
[
    {
        "Name": "rancher-desktop",
        "Metadata": {
            "Description": "Rancher Desktop moby context"
        },
        "Endpoints": {
            "docker": {
                "Host": "unix:///Users/my_user/.rd/docker.sock",
                "SkipTLSVerify": false
            }
        },
        "TLSMaterial": {},
        "Storage": {
            "MetadataPath": "/Users/my_user/.docker/contexts/meta/b547d66a5de60e5f0843aba28283a8875c2ad72e99ba076060ef9ec7c09917c8",
            "TLSPath": "/Users/my_user/.docker/contexts/tls/b547d66a5de60e5f0843aba28283a8875c2ad72e99ba076060ef9ec7c09917c8"
        }
    }
]
$ docker context ls
NAME                DESCRIPTION                               DOCKER ENDPOINT                               ERROR
default             Current DOCKER_HOST based configuration   unix:///var/run/docker.sock
desktop-linux                                                 unix:///Users/my_user/.docker/run/docker.sock
rancher-desktop *   Rancher Desktop moby context              unix:///Users/my_user/.rd/docker.sock
$ which docker
/Users/my_user/.rd/bin/docker
$ ls -al /Users/my_user/.rd/bin/docker
lrwxr-xr-x@ 1 my_user  staff  80 Jan  9 11:14 /Users/my_user/.rd/bin/docker -> /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/docker

But still not detected automatically
Any chance to make it compatible?

from acelink.

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.