mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-18 23:06:10 -05:00
* chore: add tfplugindocs tool
* feat: add tfplugin doc dependency and make target
* chore: apply documentation generation
* docs(contributing): update for documentation generation
* fix: adapt website-lint target to new do folder
* docs(network): update ds descriptions
* docs: add template for index.md
* docs: add network resource generation
* chore(ci): updates paths for website checks
* docs: add plugin data source generation
* docs: add import cmd for network resource
* docs: add plugin resource generation
* feat: outlines remaining resources with example and import cmd
* feat: add descriptions to docs
* chore: add DevSkim ignores and fix capitalized errors
* docs: complete ds registry image
* docs: add container resource generation
* docs: add lables description to missing resources
* docs: remove computed:true from network data
so the list is rendered in the description
* Revert "docs: remove computed:true from network data"
This reverts commit
|
||
|---|---|---|
| .. | ||
| main.tf | ||
| README.md | ||
Using and testing the ssh-protocol
The ssh:// which was introduced in docker can be tested/used as shown in this example.
# export your pub key(s) in terraform pub_key variable
export TF_VAR_pub_key="$(cat ~/.ssh/*.pub)"
# launch dind container with ssh and docker accepting your PK for root user
terraform apply -target docker_container.dind
# wait for few seconds/minutes
# ssh to container to remember server keys
ssh root@localhost -p 32822 uptime
# test docker host ssh protocol
terraform apply -target docker_image.test