- A Linux host
- Docker
- Visual Studio Code
Users should ensure to have the following programs installed on their system:
bash
,id
,getent
- Clone
ceph-vscode
project to a local folder - Clone
ceph
project to a local folder - Copy
ceph-vscode
's.devcontainer
and.vscode
directories intoceph
project folder - VSCode -> open
ceph
project folder ->><
(left bottom button) -> Open Folder in Container...
Users can build, develop and test Ceph inside a Docker container without being forced to install or configure anything on their own machine.
Visual Studio Code can take care of automatically download and build a developer Docker image.
Host's user will match UID
and GID
with the user inside the container.
This ensures that every modification from inside the container will be completely transparent from the host's perspective.
Moreover, host's user ~/.ssh
directory will be mounted on the container's user ~/.ssh
directory. This is especially convenient if an ssh authentication type is configured to work with GitHub.
From inside the container, users will be able to access the host's Docker engine as if they were just in a regular host's shell.
To build the entire Ceph project simply press: ctrl + shift + b
The configured radosgw
debug setting will use the wd_rgw
directory as working directory.
Inside that has been placed a configuration file for the s3cmd
S3 client that is already configured for the usage with radosgw
.
Examples of commands you can use with that have been placed into s3cmd.notes
file.