Skip to content

Commit

Permalink
fix: docker error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Feb 3, 2024
1 parent ae049ae commit ddf4262
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM busybox

RUN mkdir /app
RUN mkdir -p /app
RUN chmod 777 /app
RUN mkdir /backup
RUN mkdir -p /backup
RUN chmod 777 /backup

COPY ./volume_toolkit /usr/bin/volume_toolkit
Expand Down
2 changes: 2 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#### Usage

1. Export a persistent volume

a. Mount and export
```bash
docker run --rm -v <persistent-volume-name>:/data -v /path/to/backup:/app volume-toolkit export
Expand All @@ -31,6 +32,7 @@
rm -rf /path/to/backup
```
2. Import a persistent volume

a. Create a tmp directory
```bash
mkdir /path/to/backup
Expand Down

0 comments on commit ddf4262

Please sign in to comment.