Skip to content

Commit 60af15b

Browse files
Update README.md
Running rails-new with sudo causes the following error during the initial Step 5/8 : RUN groupadd -g $GROUP_ID app && useradd -u $USER_ID -g app -m app ---> Running in 283cd70fd9e4 groupadd: GID '0' already exists The command '/bin/sh -c groupadd -g $GROUP_ID app && useradd -u $USER_ID -g app -m app' returned a non-zero code: 4 thread 'main' panicked at src/main.rs:41:5: assertion failed: status.success()
1 parent 785ede8 commit 60af15b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Rails versions for you, so you don't have to worry about it.
88
You need to have Docker installed on your machine. You can find instructions on how to install Docker on your machine
99
[here](https://docs.docker.com/engine/install/).
1010

11+
**On Linux**, your user needs to be a member of the docker group. rails-new does not work with sudo. You can find instructions on this [here](https://docs.docker.com/engine/install/linux-postinstall/)
12+
1113
## Installation
1214

1315
Go to the [latest release](https://github.com/rails/rails-new/releases/latest) and download the executable for your platform (not the source code). For example, on M1 macOS this would be `rails-new-aarch64-apple-darwin.tar.gz`. Once the download is complete, unzip the `.tar.gz` file, which will create the `rails-new` executable. Move the executable into your path so that it is ready to run from the command line.

0 commit comments

Comments
 (0)