An open API service indexing awesome lists of open source software.

https://github.com/rajyraman/power-platform-cli-container

Run Power Platform CLI inside a Docker container
https://github.com/rajyraman/power-platform-cli-container

docker power-platform-cli powerapps

Last synced: 8 months ago
JSON representation

Run Power Platform CLI inside a Docker container

Awesome Lists containing this project

README

          

# Running Power Platform CLI inside a container

[Dev Containers](https://code.visualstudio.com/docs/remote/containers) do support running Power Platform CLI, but only after installing [Power Platform Tools](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.powerplatform-vscode) extension. This requires installation of VSCode. This solution is purely for running pac inside a container from terminal.

## Run

Below is an example of the command you need to run, if you want to spin up a new container and run Power Platform CLI.

```
docker run -v ./share:/root/.local/share -it ghcr.io/rajyraman/power-platform-cli-container:latest
```

```
podman machine start
podman run -v ./share:/root/.local/share -it ghcr.io/rajyraman/power-platform-cli-container:latest
```