Back up, clone, restore, and share Docker volumes effortlessly.
Перейти к файлу
Felipe Cruz Martinez 9d652e957c
Merge pull request #37 from felipecruz91/feature/transfer-host
feat(Transfer): change dialog to new design
2022-08-11 19:05:45 +02:00
.github/workflows Remove self-hosted agent 2022-08-02 09:12:02 +02:00
docs/images [skip ci] - Update README 2022-06-21 13:49:05 +02:00
ui Merge pull request #37 from felipecruz91/feature/transfer-host 2022-08-11 19:05:45 +02:00
vm Clean volume data before importing/loading 2022-08-04 17:08:49 +02:00
.dockerignore Initial commit 2022-06-15 12:42:44 +02:00
.gitignore Test export handler 2022-07-23 10:50:21 +02:00
Dockerfile feat(*): change icon and title, add feedback form 2022-08-08 12:12:18 +02:00
LICENSE Create LICENSE 2022-06-15 23:52:50 +02:00
Makefile Use backend service to get volumes, containers and sizes 2022-07-16 14:36:58 +02:00
README.md Add CI badges 2022-08-02 14:21:34 +02:00
docker-compose.yaml Investigate linux issue when exporting vol 2022-08-02 10:55:28 +02:00
icon.svg feat(*): change icon and title, add feedback form 2022-08-08 12:12:18 +02:00
metadata.json feat(*): change icon and title, add feedback form 2022-08-08 12:12:18 +02:00

README.md

vackup-docker-extension

Build, Scan and Push Lint Dockerfile

This repository contains a Docker Extension that backups Docker volumes. This extension is purely a demonstration of how it'd be to convert the Vackup project by Bret Fisher into a Docker Extension. This example is part of the YouTube Livestream Introducing Docker Extensions hosted by Bret Fisher.

Extension Screenshot

Installation

Install Docker Extension with the Extensions CLI.

  docker extension install felipecruz/vackup-docker-extension:latest

Run Locally

Clone the project

  git clone https://github.com/felipecruz91/vackup-docker-extension.git

Go to the project directory

  cd vackup-docker-extension

Build the extension

  docker build -t felipecruz/vackup-docker-extension:latest .

Install the extension

  docker extension install felipecruz/vackup-docker-extension:latest

Developing the frontend

  cd ui
  npm install
  npm start

This starts a development server that listens on port 3000.

You can now tell Docker Desktop to use this as the frontend source. In another terminal run:

  docker extension dev ui-source felipecruz/vackup-docker-extension:latest http://localhost:3000

In order to open the Chrome Dev Tools for your extension when you click on the extension tab, run:

  docker extension dev debug felipecruz/vackup-docker-extension:latest

Each subsequent click on the extension tab will also open Chrome Dev Tools. To stop this behaviour, run:

  docker extension dev reset felipecruz/vackup-docker-extension:latest

Acknowledgements

License

MIT