Sign inSign up

darquewarrior/dapr-dev

By darquewarrior

•Updated almost 4 years ago

This image is configured so you can start developing Dapr components.

Image
2

550

darquewarrior/dapr-dev repository overview

This image has all the required tools to develop a Dapr Component⁠. The required repositories have already been cloned in the correct location. In the ./go/src/github.com/dapr folder is a pull script that can be used to pull the latest code from the dapr repos. The folder also contains an updateip script you can use to change localhost to the IP of the host machine so dapr run can communicate with the components running on the host machine.

./updateid 192.168.1.3

To run the image issue the following run command:

docker run -dt -v /var/run/docker.sock:/var/run/docker.sock -v ~/.kube/:/root/.kube/ darquewarrior/dapr-dev

If you prefer to use local repositories you can map your repos into the container:

docker run -dt -v /var/run/docker.sock:/var/run/docker.sock -v ~/.kube:/root/.kube -v ~/go/src/github.com/dapr:/go/src/github.com/dapr darquewarrior/dapr-dev

When on Windows use fully qualified path instead of ~. For example change:

~/.kube:/root/.kube

to:

c:/user/[user]/.kube:/root/.kube

Using the Visual Studio Code⁠, Docker extension⁠ locate the container, right-click and select Attach Visual Studio Code.

Tag summary

Content type

Image

Digest

sha256:251a2076b…

Size

761.7 MB

Last updated

almost 4 years ago

docker pull darquewarrior/dapr-dev