mirror of
https://www.github.com/b3vis/borg-server
synced 2026-08-05 16:12:46 +02:00
Formatting
This commit is contained in:
@@ -24,14 +24,14 @@ RUN passwd -u borg
|
|||||||
EXPOSE 22
|
EXPOSE 22
|
||||||
CMD ["/usr/bin/supervisord"]
|
CMD ["/usr/bin/supervisord"]
|
||||||
```
|
```
|
||||||
---
|
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
I personally like to split my ssh keys out of the main container to make updates and management easier. To achieve this I create a persistent storage container;
|
I personally like to split my ssh keys out of the main container to make updates and management easier. To achieve this I create a persistent storage container;
|
||||||
|
|
||||||
`docker run -d -v /home/borg/.ssh --name borg-keys-storage busybox:latest`
|
`docker run -d -v /home/borg/.ssh --name borg-keys-storage busybox:latest`
|
||||||
---
|
|
||||||
* Container Creation:
|
* Container Creation:
|
||||||
```
|
```
|
||||||
docker create \
|
docker create \
|
||||||
@@ -42,7 +42,7 @@ docker create \
|
|||||||
-p 2022:22 \
|
-p 2022:22 \
|
||||||
b3vis/borg-server
|
b3vis/borg-server
|
||||||
```
|
```
|
||||||
---
|
|
||||||
### Note
|
### Note
|
||||||
|
|
||||||
After creating the container you will need to start the container add your own public keys
|
After creating the container you will need to start the container add your own public keys
|
||||||
|
|||||||
Reference in New Issue
Block a user