Skip to content

Commit 4abf8c8

Browse files
authored
Update README.md
1 parent df41fac commit 4abf8c8

1 file changed

Lines changed: 9 additions & 35 deletions

File tree

README.md

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,15 @@
11
# containerized-devstack
22

3-
This project easily deploys OpenStack in docker & docker-compose.
3+
This project easily deploys OpenStack in docker & docker compose.
44
This is mainly for development purpose.
55

6-
NOTE: This is only tested on **x64 Ubuntu 22.04 machine**. It may work
6+
NOTE: This is only tested on **x64 Ubuntu 24.04 machine**. It may work
77
on other Linux Distributions. Other CPU architectures and operating
88
systems cannot be supported.
99

10-
<details>
11-
<summary>Ubuntu 24.04 Support</summary>
12-
13-
This project has also been tested on Ubuntu 24.04 with Docker Compose V2.
14-
15-
### Installing Docker Compose V2 on Ubuntu 24.04
16-
17-
```bash
18-
# Install Docker Compose V2
19-
sudo apt-get update && sudo apt-get install -y docker-compose-v2
20-
21-
# Verify installation
22-
docker compose version
23-
```
24-
25-
### Using with Ubuntu 24.04
26-
27-
The docker-compose.yaml file in this repository supports both Ubuntu 22.04 and Ubuntu 24.04. When using Ubuntu 24.04, make sure to use the Docker Compose V2 command:
28-
29-
```bash
30-
sudo docker compose up
31-
```
32-
33-
Note the difference in command syntax: `docker compose` (V2) vs `docker-compose` (V1).
34-
</details>
35-
3610
# Usage
3711

38-
The docker-compose command launches an OpenStack environment based
12+
The docker compose command launches an OpenStack environment based
3913
on preconfigured container images. The images are huge and will take
4014
some time to download, but once complete, you should be up and running
4115
in less than a minute thereafter.
@@ -44,13 +18,13 @@ An example is shown below:
4418

4519
```bash
4620
curl -sLO https://raw.githubusercontent.com/bobuhiro11/containerized-devstack/main/docker-compose.yaml
47-
sudo docker-compose up
21+
sudo docker compose up
4822
```
4923

5024
You can use the OpenStack CLI in the container.
5125

5226
```bash
53-
sudo docker-compose exec controller openstack compute service list
27+
sudo docker compose exec controller openstack compute service list
5428
# +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
5529
# | ID | Binary | Host | Zone | Status | State | Updated At |
5630
# +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
@@ -62,7 +36,7 @@ sudo docker-compose exec controller openstack compute service list
6236
# | 3a3ec69d-f2d3-477a-b0b5-14b9924e1b5b | nova-compute | compute-1 | nova | enabled | up | 2023-04-19T03:18:55.000000 |
6337
# +--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
6438

65-
sudo docker-compose exec controller openstack network agent list
39+
sudo docker compose exec controller openstack network agent list
6640
# +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
6741
# | ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
6842
# +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
@@ -78,9 +52,9 @@ The image contains a script `/bin/test.bash` to check some operations.
7852
This confirms that the VM is booted.
7953

8054
```bash
81-
sudo docker-compose exec controller /bin/test.bash
82-
# + nova boot --image cirros-0.5.2-x86_64-disk --flavor m1.medium ...
83-
# + nova list
55+
sudo docker compose exec controller /bin/test.bash
56+
# + openstack server create --image cirros-0.5.2-x86_64-disk --flavor m1.medium ...
57+
# + openstack server list
8458
# +--------------------------------------+--------+--------+------------+-------------+-------------------+
8559
# | ID | Name | Status | Task State | Power State | Networks |
8660
# +--------------------------------------+--------+--------+------------+-------------+-------------------+

0 commit comments

Comments
 (0)