You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, you can use `docker-compose` to start APISIX.
132
-
133
-
<Tabs
134
-
groupId="cpu-arch"
135
-
defaultValue="x86"
136
-
values={[
137
-
{label: 'x86', value: 'x86'},
138
-
{label: 'ARM/M1', value: 'arm'},
139
-
]}>
140
-
<TabItemvalue="x86">
141
-
142
-
```shell
143
-
docker-compose -p docker-apisix up -d
124
+
```sh
125
+
curl -sL https://run.api7.ai/apisix/quickstart | sh
144
126
```
145
127
146
-
</TabItem>
128
+
This command runs APISIX and etcd locally with Docker. APISIX uses etcd to save and synchronize configuration. Both etcd and APISIX use the [**host**](https://docs.docker.com/network/host/) Docker network mode. That is, APISIX can be accessed locally.
147
129
148
-
<TabItemvalue="arm">
130
+
If everything is ok, you will see the following message.
149
131
150
-
```shell
151
-
docker-compose -p docker-apisix -f docker-compose-arm64.yml up -d
132
+
```text
133
+
✔ APISIX is ready!
152
134
```
153
135
154
-
</TabItem>
155
-
</Tabs>
156
-
157
136
:::note
158
137
159
138
You can check out [Installing Apache APISIX](./installation-guide.md) for different installation methods.
@@ -164,39 +143,22 @@ You can check out [Installing Apache APISIX](./installation-guide.md) for differ
164
143
165
144
Make sure that all the required ports (default: 9080, 9180, 9443 and 2379) are available and not used by other system processes.
166
145
167
-
On Unix-based systems, you can run the command below to terminate a process listening on a specific port:
168
-
169
-
```bash
170
-
sudo fuser -k 9443/tcp
171
-
```
172
-
173
-
If a Docker container is crashing, you can inspect the logs to diagnose the problem:
174
-
175
-
```bash
176
-
docker logs -f --tail <container_id>
177
-
```
178
-
179
146
:::
180
147
181
-
Once APISIX is running, you can use `curl` to access the Admin API. You can also check if APISIX is running properly by running this command and checking the response.
148
+
Once APISIX is running, you can use curl to access it. Send a simple HTTP request to validate if APISIX is working properly or not.
0 commit comments