web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps CLI - runnin...
Power Apps
Unanswered

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

I have the same question (0)
  • RajYRaman Profile Picture
    270 on at

    @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

  • jamesyang Profile Picture
    40 on at

    @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

  • Verified answer
    RajYRaman Profile Picture
    270 on at

    @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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard