mirror of https://github.com/docker/docs.git
parent
3ccabce0e9
commit
5ece5aa899
|
@ -227,7 +227,7 @@ $ docker-compose -f docker-compose.dev.yml up --build
|
||||||
|
|
||||||
We pass the `--build` flag so Docker will compile our image and then starts the containers.
|
We pass the `--build` flag so Docker will compile our image and then starts the containers.
|
||||||
|
|
||||||
Now let’s test our API endpoint. Run the following curl commands:
|
Now let’s test our API endpoint. Open a new terminal then make a GET request to the server using the curl commands:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ curl http://localhost:5000/initdb
|
$ curl http://localhost:5000/initdb
|
||||||
|
|
Loading…
Reference in New Issue