{"id":18746080,"url":"https://github.com/fscm/docker-openvpn","last_synced_at":"2025-06-29T13:04:21.528Z","repository":{"id":202050237,"uuid":"163079392","full_name":"fscm/docker-openvpn","owner":"fscm","description":"Docker recipe to build an OpenVPN image","archived":false,"fork":false,"pushed_at":"2022-01-03T15:59:00.000Z","size":44,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T22:41:56.957Z","etag":null,"topics":["docker","docker-image","dockerfile","easyrsa","openvpn"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fscm.png","metadata":{"files":{"readme":"README.build.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-25T12:07:29.000Z","updated_at":"2022-04-01T08:27:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"80081ace-47b3-4dc3-b427-753ecc4abb86","html_url":"https://github.com/fscm/docker-openvpn","commit_stats":null,"previous_names":["fscm/docker-openvpn"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/fscm/docker-openvpn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdocker-openvpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdocker-openvpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdocker-openvpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdocker-openvpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fscm","download_url":"https://codeload.github.com/fscm/docker-openvpn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscm%2Fdocker-openvpn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262598162,"owners_count":23334668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","dockerfile","easyrsa","openvpn"],"created_at":"2024-11-07T16:20:50.331Z","updated_at":"2025-06-29T13:04:21.490Z","avatar_url":"https://github.com/fscm.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenVPN for Docker\n\nDocker image with OpenVPN.\n\n## Synopsis\n\nThis script will create a Docker image with OpenVPN installed and with all\nof the required initialization scripts.\n\nThe Docker image resulting from this script should be the one used to\ninstantiate an OpenVPN server.\n\n## Getting Started\n\nThere are a couple of things needed for the script to work.\n\n### Prerequisites\n\nDocker, either the Community Edition (CE) or Enterprise Edition (EE), needs to\nbe installed on your local computer.\n\n#### Docker\n\nDocker installation instructions can be found\n[here](https://docs.docker.com/install/).\n\n### Build\n\nIn order to create a Docker image using this Dockerfile you need to run the\n`docker` command with a few options.\n\n```\ndocker image build --force-rm --no-cache --quiet --tag \u003cUSER\u003e/\u003cIMAGE\u003e:\u003cTAG\u003e \u003cPATH\u003e\n```\n\n* `\u003cUSER\u003e` - *[required]* The user that will own the container image (e.g.: \"johndoe\").\n* `\u003cIMAGE\u003e` - *[required]* The container name (e.g.: \"openvpn\").\n* `\u003cTAG\u003e` - *[required]* The container tag (e.g.: \"latest\").\n* `\u003cPATH\u003e` - *[required]* The location of the Dockerfile folder.\n\nA build example:\n\n```\ndocker image build --force-rm --no-cache --quiet --tag johndoe/my_openvpn:latest .\n```\n\nTo clean any _\u003cnone\u003e_ image(s) left by the build process the following\ncommand can be used:\n\n```\ndocker image rm `docker image ls --filter \"dangling=true\" --quiet`\n```\n\nYou can also use the following command to achieve the same result:\n\n```\ndocker image prune -f\n```\n\n### Add Tags to the Docker Image\n\nAdditional tags can be added to the image using the following command:\n\n```\ndocker image tag \u003cimage_id\u003e \u003cuser\u003e/\u003cimage\u003e:\u003cextra_tag\u003e\n```\n\n### Push the image to Docker Hub\n\nAfter adding an image to Docker, that image can be pushed to a Docker registry... Like Docker Hub.\n\nMake sure that you are logged in to the service.\n\n```\ndocker login\n```\n\nWhen logged in, an image can be pushed using the following command:\n\n```\ndocker image push \u003cuser\u003e/\u003cimage\u003e:\u003ctag\u003e\n```\n\nExtra tags can also be pushed.\n\n```\ndocker image push \u003cuser\u003e/\u003cimage\u003e:\u003cextra_tag\u003e\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request\n\nPlease read the [CONTRIBUTING.md](CONTRIBUTING.md) file for more details on how\nto contribute to this project.\n\n## Versioning\n\nThis project uses [SemVer](http://semver.org/) for versioning. For the versions\navailable, see the [tags on this repository](https://github.com/fscm/docker-openvpn/tags).\n\n## Authors\n\n* **Frederico Martins** - [fscm](https://github.com/fscm)\n\nSee also the list of [contributors](https://github.com/fscm/docker-openvpn/contributors)\nwho participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE)\nfile for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscm%2Fdocker-openvpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffscm%2Fdocker-openvpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscm%2Fdocker-openvpn/lists"}