Skip to content

Commit

Permalink
(docker/dist) update README
Browse files Browse the repository at this point in the history
  • Loading branch information
otatebe committed May 9, 2024
1 parent 7970183 commit f21e584
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docker/dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

## Prerequisite

% git clone https://github.com/oss-tsukuba/gfarm.git
- Install `docker compose` ([Ubuntu](https://docs.docker.com/engine/install/ubuntu/) | [CentOS](https://docs.docker.com/engine/install/centos/)) and `make`.

- To allow docker compose to run with user privileges, add $USER to the docker group by `sudo usermod -aG docker $USER`

- Clone Gfarm
```
% git clone https://github.com/oss-tsukuba/gfarm.git
```

## Explore on virtual clusters by VS Code dev containers

Expand All @@ -15,14 +22,10 @@ This section is an option only for VS Code users.
```
% cd docker/dist
```
- follow the instructions below after "in a container"
- follow the instructions below after "(in a container)"

## Explore on virtual clusters

Install docker compose ([Ubuntu](https://docs.docker.com/engine/install/ubuntu/) | [CentOS](https://docs.docker.com/engine/install/centos/)) and make.

To allow docker compose to run with user privileges, add $USER to the docker group by `sudo usermod -aG docker $USER`

% cd gfarm/docker/dist
% DIST=<distribution> docker compose build --build-arg UID=$(id -u) c1
% DIST=<distribution> docker compose up -d
Expand Down

0 comments on commit f21e584

Please sign in to comment.