{"id":17651167,"url":"https://github.com/bobuhiro11/containerized-devstack","last_synced_at":"2025-05-07T07:09:57.736Z","repository":{"id":53151394,"uuid":"351957239","full_name":"bobuhiro11/containerized-devstack","owner":"bobuhiro11","description":"Launch OpenStack DevStack on docker container.","archived":false,"fork":false,"pushed_at":"2025-04-19T13:20:10.000Z","size":43,"stargazers_count":25,"open_issues_count":1,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T07:09:44.718Z","etag":null,"topics":["devstack","docker","openstack"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bobuhiro11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-27T01:47:59.000Z","updated_at":"2025-04-29T07:32:07.000Z","dependencies_parsed_at":"2025-03-10T21:31:13.698Z","dependency_job_id":"fa120d56-0b04-4b06-abcb-a510e8960731","html_url":"https://github.com/bobuhiro11/containerized-devstack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobuhiro11%2Fcontainerized-devstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobuhiro11%2Fcontainerized-devstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobuhiro11%2Fcontainerized-devstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobuhiro11%2Fcontainerized-devstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobuhiro11","download_url":"https://codeload.github.com/bobuhiro11/containerized-devstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831257,"owners_count":21810783,"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":["devstack","docker","openstack"],"created_at":"2024-10-23T11:40:29.084Z","updated_at":"2025-05-07T07:09:57.724Z","avatar_url":"https://github.com/bobuhiro11.png","language":"Dockerfile","readme":"# containerized-devstack\n\nThis project easily deploys OpenStack in docker \u0026 docker compose.\nThis is mainly for development purpose.\n\nNOTE: This is only tested on **x64 Ubuntu 24.04 machine**. It may work\non other Linux Distributions. Other CPU architectures and operating\nsystems cannot be supported.\n\n# Usage\n\nThe docker compose command launches an OpenStack environment based\non preconfigured container images. The images are huge and will take\nsome time to download, but once complete, you should be up and running\nin less than a minute thereafter.\n\nAn example is shown below:\n\n```bash\ncurl -sLO https://raw.githubusercontent.com/bobuhiro11/containerized-devstack/main/docker-compose.yaml\nsudo docker compose up\n```\n\nYou can use the OpenStack CLI in the container.\n\n```bash\nsudo docker compose exec controller openstack compute service list\n# +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+\n# | ID                                   | Binary         | Host       | Zone     | Status  | State | Updated At                 |\n# +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+\n# | 2d1c874e-3cba-4098-a8c9-7ca8d7f69e1d | nova-scheduler | controller | internal | enabled | up    | 2023-04-19T03:18:49.000000 |\n# | 70ae8443-fce7-465a-a69b-455e661e80c1 | nova-conductor | controller | internal | enabled | up    | 2023-04-19T03:18:49.000000 |\n# | 1a489657-cbb7-4efd-8ab6-a597de8aac1a | nova-conductor | controller | internal | enabled | up    | 2023-04-19T03:18:48.000000 |\n# | 7f9d98c2-05e6-40c4-b59d-d5cd0ece7f7f | nova-compute   | controller | nova     | enabled | up    | 2023-04-19T03:18:50.000000 |\n# | a01e676b-ed7b-4c29-be20-599e9e6564e4 | nova-compute   | compute-2  | nova     | enabled | up    | 2023-04-19T03:18:54.000000 |\n# | 3a3ec69d-f2d3-477a-b0b5-14b9924e1b5b | nova-compute   | compute-1  | nova     | enabled | up    | 2023-04-19T03:18:55.000000 |\n# +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+\n\nsudo docker compose exec controller openstack network agent list\n# +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+\n# | ID                                   | Agent Type         | Host       | Availability Zone | Alive | State | Binary                    |\n# +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+\n# | 6652233d-141f-4b04-ad62-74304afb4deb | Open vSwitch agent | controller | None              | :-)   | UP    | neutron-openvswitch-agent |\n# | cf7aec73-0a3d-4b71-ae9b-630c8075f0e5 | DHCP agent         | controller | nova              | :-)   | UP    | neutron-dhcp-agent        |\n# | ee925744-dd85-4cfb-9dae-9f2ccc3e1bff | Metadata agent     | controller | None              | :-)   | UP    | neutron-metadata-agent    |\n# | ef62635e-1da2-4689-b7a6-afc46b7a1c16 | L3 agent           | controller | nova              | :-)   | UP    | neutron-l3-agent          |\n# ...\n# +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+\n```\n\nThe image contains a script `/bin/test.bash` to check some operations.\nThis confirms that the VM is booted.\n\n```bash\nsudo docker compose exec controller /bin/test.bash\n# + openstack server create --image cirros-0.5.2-x86_64-disk --flavor m1.medium ...\n# + openstack server list\n# +--------------------------------------+--------+--------+------------+-------------+-------------------+\n# | ID                                   | Name   | Status | Task State | Power State | Networks          |\n# +--------------------------------------+--------+--------+------------+-------------+-------------------+\n# | 0c097d40-7bfe-4d1e-af01-02b95018397a | testvm | ACTIVE | -          | Running     | private=10.0.0.29 |\n# +--------------------------------------+--------+--------+------------+-------------+-------------------+\n```\n\n# Reference\n\n- https://github.com/janmattfeld/DockStack\n- https://github.com/bodenr/docker-devstack\n- https://github.com/ewindisch/dockenstack\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobuhiro11%2Fcontainerized-devstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobuhiro11%2Fcontainerized-devstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobuhiro11%2Fcontainerized-devstack/lists"}