Question: I am trying to push docker image into azure container registries repository using power-shell command as follows:-

```
docker push containerregone.azurecr.io/azure-vote-front:V1

```

it gives me following error

```
unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.

```

I have tried to find help related to this using following documentation

<https://learn.microsoft.com/en-us/azure/container-registry/container-registry-faq>
<https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication>

but it gives Azure CLI commands.

I have also tried to do this using following link

[https://stackoverflow.com/questions/50817945/what-is-the-powershell-equivalent-to-az-acr-login#:~:text=There%20is%20no%20single%20powershell,docker%20login%20to%20log%20in](https://stackoverflow.com/questions/50817945/what-is-the-powershell-equivalent-to-az-acr-login#:%7E:text=There%20is%20no%20single%20powershell,docker%20login%20to%20log%20in).

but they are using docker login. i don't have docker login.

My Question :-

1. How can we accomplish this using power-shell without docker login?

Answer: 
> 
> Is there a way to use React for some pages and still have EJS pages that I currently have?
> 
> 
> 

Yes you can, react is just javascript.

You can use `create-react-app` for a single page and serve that from the route of your choice but keep in mind that your front-end won't become a SPA by doing this you'll just be serving a react app on a certain route.

A somewhat better approach would be to not use `create-react-app` and instead setup your custom webpack build process to convert jsx to javascript, write a minimal ejs template to include your transpiled javascript code into the HTML, and serve that template from a route.
Reactjs component can be part of your backend code when using [SSR](https://reactjs.org/docs/react-dom-server.html)(server side rendering) which is much more complicated. Or you can use a express static server to serve reactjs app which is ready to deploy, then express will only be a simple the static file router.