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
Copy file name to clipboardExpand all lines: extra/minishift/README.md
+26-1Lines changed: 26 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,11 @@ The following steps will build the sample application and create a Docker image
136
136
137
137
We will use Minishift's internal Docker registry to host our image.
138
138
139
+
1. Configure your environment for Minishift:
140
+
```console
141
+
$ eval $(minishift oc-env)
142
+
$ eval $(minishift docker-env)
143
+
```
139
144
1. Ensure your `oc` client is logged into Minishift as `developer`. To do this, open the console and click on the top right corner to obtain the `oc login` command, which contains a token. For example:
@@ -299,4 +304,24 @@ The `vote` application is using various MicroProfile specifications. The `/open
299
304
1. Click on `Execute` and inspect that the `Respond body` contains the same name that you created in step 2. You successfully triggered a fetch from our microservice into the CouchDB database.
300
305
1. Feel free to explore the other APIs and play around with the microservice!
301
306
302
-
Congratulations! You finished the lab! You got to use a few powerful tools to deploy a microservice into minishift. Although this lab is finished but the journey to minishift/openshift should not end here!
307
+
Congratulations! You finished the lab! You got to use a few powerful tools to deploy a microservice into minishift. Although this lab is finished but the journey to minishift/openshift should not end here!
308
+
309
+
## Troubleshooting
310
+
Here are a few common issues that people run into. If you experience a problem that is not documented, feel free to open an issue so that it can be documented.
311
+
312
+
### oc: command not found
313
+
You need to configure your environment for Minishift. Run the following command
314
+
```console
315
+
$ eval$(minishift oc-env)
316
+
```
317
+
318
+
### I am not able to log in to the Docker registry.
319
+
If you are not able to login to the Docker registry and an error similar to the following:
320
+
```
321
+
Error response from daemon: Get https://172.30.1.1:5000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
322
+
```
323
+
324
+
You will need to configure your Docker client for Minishift. Run the following command:
0 commit comments