mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-20 12:19:07 +00:00
feat(volume): add the possibilty to mount local directory into the container (like docker volume)
This commit is contained in:
@@ -46,6 +46,10 @@ mc session create --driver goose
|
||||
# Create a session with environment variables
|
||||
mc session create -e VAR1=value1 -e VAR2=value2
|
||||
|
||||
# Mount custom volumes (similar to Docker's -v flag)
|
||||
mc session create -v /local/path:/container/path
|
||||
mc session create -v ~/data:/data -v ./configs:/etc/app/config
|
||||
|
||||
# Shorthand for creating a session with a project repository
|
||||
mc github.com/username/repo
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user