Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

PowerApps CLI - running in docker?

(0) ShareShare
ReportReport
Posted on by 40

Can anyone share how to run PowerApps CLI in docker? 

 

Can PowerApps PCF development and DevOps been done ins MacOS and Linux servers?

 

thanks

  • Verified answer
    RajYRaman Profile Picture
    270 on at
    Re: PowerApps CLI - running in docker?

    @jamesyang- PCF CLI is not cross platform, so you won't be able to use that in a container anyway. I use Remote Containers extension (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers), along with dev containers. The Docker image is mcr.microsoft.com/vscode/devcontainers/typescript-node:0-12. But, none of this works at the moment due to the issue I mentioned earlier. @HemantG might be able to shed some more light on this.

    image.png

  • jamesyang Profile Picture
    40 on at
    Re: PowerApps CLI - running in docker?

    @rajyramanThank you!

    i use mac. i am having issues to run .net Framework container. would you share your Docker

    i have tried both latest and sdk4.8 in my Dockerfile, but still getting errors in mac when building the docker.

    #FROM mcr.microsoft.com/dotnet/framework/sdk:4.8
    FROM mcr.microsoft.com/dotnet/framework/sdk:latest

     

    what docker image do you use? would you share some details of your Dockerfile for installing .net and pcf?

     

    thanks

  • RajYRaman Profile Picture
    270 on at
    Re: PowerApps CLI - running in docker?

    @jamesyang- There is an issue with pcf-scripts at the moment, which means that you cannot use Linux containers. Below is the error I get if I use devcontainers. Until this is fixed on the pcf-scripts package, you won't be able to use containers. If you use a Mac, you can use Office 365 CLI to work with PCF.

     

    image.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 72 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard