Update and reformat readme
This commit is contained in:
Родитель
81505bba2a
Коммит
11558e887a
40
README.md
40
README.md
|
@ -1,20 +1,32 @@
|
|||
# Azure Container Registry Web Manager
|
||||
|
||||
# Running locally
|
||||
Docker:
|
||||
- `docker run -it -p 5050:80 azurecr/web-manager`
|
||||
The ACR Web Manager enables you to view metadata about your respositories and tags stored in your Azure Container Registry. You can find out more information about Azure Container Registry [here](https://azure.microsoft.com/services/container-registry).
|
||||
|
||||
|
||||
# Build instructions
|
||||
- `cd src/ACRManager`
|
||||
- `npm install`
|
||||
- `npm install -g gulp webpack`
|
||||
- `dotnet restore`
|
||||
- `dotnet run`
|
||||
## Running locally in Docker
|
||||
|
||||
```bash
|
||||
$ docker run -it -p 5000:80 azurecr/web-manager
|
||||
```
|
||||
|
||||
## Build instructions
|
||||
|
||||
```bash
|
||||
$ cd src/ACRManager
|
||||
$ npm install
|
||||
$ npm install -g gulp webpack
|
||||
$ dotnet restore
|
||||
$ dotnet run
|
||||
```
|
||||
|
||||
## Buiding the Docker image:
|
||||
|
||||
# To build a Docker image:
|
||||
- Follow previous instructions up to `dotnet run`
|
||||
- `dotnet publish -c Release`
|
||||
- `docker build -t acrmanager bin/Release/netcoreapp1.0/publish`
|
||||
- `docker run -p 5000:80 -it --rm acrmanager`
|
||||
|
||||
![alt Web Manager animation](docs/assets/web-manager.gif)
|
||||
```bash
|
||||
$ dotnet publish -c Release
|
||||
$ docker build -t acrmanager bin/Release/netcoreapp1.0/publish
|
||||
$ docker run -p 5000:80 -it --rm acrmanager
|
||||
```
|
||||
|
||||
![alt Web Manager animation](docs/assets/web-manager.gif)
|
||||
|
|
Загрузка…
Ссылка в новой задаче