From cc7f7f47b71ff5f5c2e6aaf859565840590e0dc2 Mon Sep 17 00:00:00 2001 From: Ruge Li Date: Tue, 13 Aug 2024 16:28:48 -0700 Subject: [PATCH] update docker commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 085c53fc..3e5098a3 100644 --- a/README.md +++ b/README.md @@ -97,8 +97,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the 1. Install [docker](https://docs.docker.com/v17.09/engine/installation/) 2. Clone the repository locally, if you haven't already: `git clone https://github.com/mesoscope/cellpack.git` 3. Ensure that you have valid AWS access key and secret to access the `cellpack-results` S3 bucket, usually stored in a `~/.aws/credentials` file. -4. To build the container, run: `sudo docker build -t cellpack_image .` Include `--build-arg local=True` if running locally, omit if running on an EC2 instance connected to EFS volume -5. To run packings in the container, run: `sudo docker run -v ~/.aws:/root/.aws -e recipe=examples/recipes/v2/one_sphere.json -e config=examples/packing-configs/run.json cellpack_image` +4. To build the container, run: `docker build -t cellpack_image .` Include `--build-arg local=True` if running locally, omit if running on an EC2 instance connected to EFS volume +5. To run packings in the container, run: `docker run -v ~/.aws:/root/.aws -e recipe=examples/recipes/v2/one_sphere.json -e config=examples/packing-configs/run.json cellpack_image` 6. Verify that the packing results are saved in the `cellpack-results` S3 bucket. You should see a botocore logging message indicating that the credentials were successfully loaded. **MIT license**