forked from docker/borg-server
Formatting
This commit is contained in:
parent
fccb0a4aeb
commit
ca45493db7
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue