Skip to content

Commit

Permalink
docs: add user parameter info to main readme (cypress-io#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Jul 18, 2024
1 parent ca06791 commit 08c27e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ Don't see the exact combination of Cypress, Node.js and browser versions you nee

- See the example workflow [.github/workflows//example-cypress-github-action.yml](./.github/workflows/example-cypress-github-action.yml) for Continuous Integration (CI) using [cypress‑io/github‑action](https://github.com/cypress-io/github-action) together with Cypress Docker images.

## User

By default, Docker containers run as `root` user. [cypress/base](./base/README.md), [cypress/browsers](./browsers/README.md) and [cypress/included](./included/README.md) images provide the additional non-root user `node`.

If you run a Cypress Docker image locally as container with a non-root user, refer to the [Docker documentation](https://docs.docker.com/), such as [Docker Desktop FAQs](https://docs.docker.com/desktop/), for information on file-sharing between your host system and Docker. File-sharing details differ depending on the host operating system running Docker.

If you specify a Cypress Docker image in a [GitHub Actions job](https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container) `container` workflow section, add `options: --user 1001` to the workflow to avoid permissions issues.

## Known problems

## Firefox not found
Expand Down

0 comments on commit 08c27e3

Please sign in to comment.