Dockerfile
to build your customized image:RUN apt-get install nodejs -y
will allow support for nodejs
applications as guest executables.Dockerfile
, open a terminal and cd
to the directly holding your Dockerfile
then run:-p
tags. For example, if your application is listening on port 8080, add the following -p
tag:docker run -itd -p 19000:19000 -p 19080:19080 -p 8080:8080 --name sfonebox mcr.microsoft.com/service-fabric/onebox:u18
http://localhost:19080
sfctl
) on your Mac.The CLI commands support interacting with Service Fabric entities, including clusters, applications, and services.yo azuresfguest
or yo azuresfcontainer
, respectively.brew cask install java
may install a more recent version of the JDK.Be sure to install JDK 8./Users/sayantan/work/workspaces/mySFWorkspace
is the fully qualified path of the workspace on your Mac./tmp/mySFWorkspace
is the path that is inside of the container to where the workspace should be mapped.docker run
command.sfonebox
, update the name value in the testclient.sh file in your Service Fabric actor Java application.