Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

customink/ds-test

Repository files navigation

Docker Sync Test

Simple setup with docker-sync to make sure it is working right. The patterns here are the basics of how Custom Ink uses this tool in combination with docker compose.

For details, see this Serverless Docker Patterns post.

Setup & Test

Here is how to confirm docker-sync is working for you. First close and setup this repo as you would any normal strap-style project.

$ ./bin/bootstrap
$ ./bin/setup

Now to test that docker-sync is working as expected. Run the bin/test file.

$ ./bin/test
Creating ds-test_dstest_run ... done
1

Now change the app.rb file's contents to puts '2' and run bin/test again. If docker-sync is working, you should see:

$ ./bin/test
Creating ds-test_dstest_run ... done
2

Issues?

Make sure you have gRPC-FUSE turned on under Preferences -> Expeirmental Features. This has been enabled for all stable/edge Docker Desktop for Mac releases.