mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-17 15:55:26 +01:00
48966f4364
Signed-off-by: jonasrosland <jrosland@vmware.com>
61 lines
2.4 KiB
Markdown
61 lines
2.4 KiB
Markdown
---
|
|
title: Test Harbor with the Demo Server
|
|
weight: 10
|
|
---
|
|
|
|
The Harbor team has made available a demo Harbor instance that you can use to experiment with Harbor and test its functionalities.
|
|
|
|
When using the demo server, please take note of the conditions of use.
|
|
|
|
## Conditions of Use of the Demo Server ##
|
|
|
|
- The demo server is reserved for experimental use only, to allow you to test Harbor functionality.
|
|
- Do not upload sensitive images to the demo server.
|
|
- The demo server is not a production environment. The Harbor team is not responsible for any loss of data, functionality, or service that might result from its use.
|
|
- The demo server is cleaned and reset every two days.
|
|
- The demo server only allows you to test user functionalities. You cannot test administrator functionalities. To test administrator functionalities and advanced features, set up a Harbor instance.
|
|
- Do not push images >100MB to the demo server, as it has limited storage capacity.
|
|
|
|
If you encounter any problems while using the demo server, open an [issue on Github](https://github.com/goharbor/harbor/issues) or contact the Harbor team on [Slack](https://github.com/goharbor/harbor#community).
|
|
|
|
## Access the Demo Server ##
|
|
|
|
1. Go to [https://demo.goharbor.io](https://demo.goharbor.io).
|
|
1. Click **Sign up for an account**.
|
|
1. Create a user account by providing a username, your email address, your name, and a password.
|
|
1. Log in to the Harbor interface using the account you created.
|
|
1. Explore the default project, `library`.
|
|
1. Click **New Project** to create your own project.
|
|
|
|
For information about how to create a project, see [Create a Project](../working-with-projects/create-projects/_index.md).
|
|
|
|
1. Open a Docker client and log in to Harbor with the credentials that you created above.
|
|
|
|
```sh
|
|
docker login demo.goharbor.io
|
|
```
|
|
|
|
1. Create a very simple `Dockerfile` with the following contents.
|
|
|
|
```dockerfile
|
|
FROM busybox:latest
|
|
```
|
|
|
|
1. Build an image from this Dockerfile and tag it.
|
|
|
|
```sh
|
|
docker build -t demo.goharbor.io/your-project/test-image .
|
|
```
|
|
|
|
1. Push the image to your project in Harbor.
|
|
|
|
```sh
|
|
docker push demo.goharbor.io/your-project/test-image
|
|
```
|
|
|
|
1. In the Harbor interface, go to **Projects** > *your_project* > **Repositories** to view the image repository that you pushed to your Harbor project.
|
|
|
|
## What to Do Next ##
|
|
|
|
See the [Harbor Installation Prerequisites](installation-prereqs.md).
|