Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rootless docker. #890

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Support rootless docker. #890

merged 1 commit into from
Jul 1, 2022

Commits on Jul 1, 2022

  1. Support rootless docker.

    Adds support for rootless docker, and manually overriding
    rootless/rootful container engines through the
    `CROSS_ROOTLESS_CONTAINER_ENGINE` environment variable. If not set, it
    will use the default mode for the container engine (rootful for docker,
    rootless for everything else).
    
    ```bash
    \# use the defaults
    cross run ...
    \# auto-select if using rootless (the default)
    CROSS_ROOTLESS_CONTAINER_ENGINE=auto cross run ...
    \# always use rootful mode
    CROSS_ROOTLESS_CONTAINER_ENGINE=0 cross run ...
    \# always use rootless mode
    CROSS_ROOTLESS_CONTAINER_ENGINE=1 cross run ...
    ```
    
    Closes cross-rs#889.
    Alexhuszagh committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    ae54417 View commit details
    Browse the repository at this point in the history