Sign inSign up

Service Fabric Onebox

Verified Publisher

service-fabric/onebox

By Microsoft

•Updated over 2 years ago

Official images to run Service Fabric Linux cluster on your Linux, Mac or Windows machine.

3

microsoft/service-fabric-onebox repository overview

  • u18
    docker pull mcr.microsoft.com/service-fabric/onebox:u18
  • u16
    docker pull mcr.microsoft.com/service-fabric/onebox:u16
  • latest
    docker pull mcr.microsoft.com/service-fabric/onebox:latest

⁠About this image

This image is used to build a Docker image that can run the Service Fabric for Ubuntu cluster inside a container. This allows users on Windows, Linux or Mac based developer environments to have a local cluster on their machines.

⁠How to Use this Image

For information on how to use this image on Mac or Linux environments please follow instructions here⁠.

  1. Update the Docker daemon configuration on your host with the following settings and restart the Docker daemon. Details: Enable IPv6 support⁠

    {
        "ipv6": true,
        "fixed-cidr-v6": "fd00::/64"
    }
    
  2. Start the cluster:

    docker run --name sftestcluster -d -v /var/run/docker.sock:/var/run/docker.sock -p 19080:19080 -p 19000:19000 -p 25100-25200:25100-25200 mcr.microsoft.com/service-fabric/onebox:u18
    
  3. Connect to the cluster using SF CLI, SDK, or other management tools and deploy Service Fabric microservice applications.
    Manage an Azure Service Fabric application by using Azure Service Fabric CLI (sfctl)⁠
    Deploy and remove applications using PowerShell⁠

⁠Configuration

  • At least 4 GB of RAM.
  • The latest version of Docker.

⁠Full Tag Listing

TagsOS VersionSF VersionNotes
u18Ubuntu 18.04 LTS8.1.323.1Recommended
u18_8.1.323.1Ubuntu 18.04 LTS8.1.323.1
u18_8.1.320.1Ubuntu 18.04 LTS8.1.320.1
u18_8.0.527.1Ubuntu 18.04 LTS8.0.527.1
u18_8.0.515.1Ubuntu 18.04 LTS8.0.515.1
u18_8.0.513.1804Ubuntu 18.04 LTS8.0.513.1804
u18_7.2.476.1804Ubuntu 18.04 LTS7.2.476.1804
u18_7.2.456.1804Ubuntu 18.04 LTS7.2.456.1804
u18_7.2.454.1804Ubuntu 18.04 LTS7.2.454.1804
u18_7.2.447.1804Ubuntu 18.04 LTS7.2.447.1804
u18_7.2.431.1804Ubuntu 18.04 LTS7.2.431.1804
u18_7.1.454.1804Ubuntu 18.04 LTS7.1.454.1804
u18_7.1.452.1804Ubuntu 18.04 LTS7.1.452.1804
u16Ubuntu 16.04 LTS8.1.323.116.04 LTS support ended 04/2021
u16_8.1.323.1Ubuntu 16.04 LTS8.1.323.1
u16_8.1.320.1Ubuntu 16.04 LTS8.1.320.1
u16_8.0.527.1Ubuntu 16.04 LTS8.0.527.1
u16_8.0.515.1Ubuntu 16.04 LTS8.0.515.1
u16_8.0.513.1Ubuntu 16.04 LTS8.0.513.1
u16_7.2.476.1Ubuntu 16.04 LTS7.2.476.1
u16_7.2.456.1Ubuntu 16.04 LTS7.2.456.1
u16_7.2.454.1Ubuntu 16.04 LTS7.2.454.1
u16_7.2.447.1Ubuntu 16.04 LTS7.2.447.1
u16_7.2.431.1Ubuntu 16.04 LTS7.2.431.1
u16_7.1.454.1Ubuntu 16.04 LTS7.1.454.1
u16_7.1.452.1Ubuntu 16.04 LTS7.1.452.1
latestUbuntu 16.04 LTS7.1.410.1Tag is deprecated; uses legacy * UX pattern
7.1.410.1Ubuntu 16.04 LTS7.1.410.1*
7.0.471.1Ubuntu 16.04 LTS7.0.471.1*
7.0.469.1Ubuntu 16.04 LTS7.0.469.1*
7.0.465.1Ubuntu 16.04 LTS7.0.465.1*
7.0.464.1Ubuntu 16.04 LTS7.0.464.1*
7.0.457.1Ubuntu 16.04 LTS7.0.457.1*
6.5.467.1Ubuntu 16.04 LTS6.5.467.1*
6.5.466.1Ubuntu 16.04 LTS6.5.466.1*
6.5.460.1Ubuntu 16.04 LTS6.5.460.1*
6.5.454.1Ubuntu 16.04 LTS6.5.454.1*
6.5.435.1Ubuntu 16.04 LTS6.5.435.1*
6.4.661.1Ubuntu 16.04 LTS6.4.661.1*
6.4.649.1Ubuntu 16.04 LTS6.4.649.1*
6.4.625Ubuntu 16.04 LTS6.4.625.1*
6.3.119Ubuntu 16.04 LTS6.3.119.1*
6.2.199Ubuntu 16.04 LTS6.2.199.1*
6.2.194Ubuntu 16.04 LTS6.2.194.1*
6.2.191Ubuntu 16.04 LTS6.2.191.1*
6.2.186Ubuntu 16.04 LTS6.2.186.1*
6.2.133Ubuntu 16.04 LTS6.2.133.1*

⁠Legend

* - Uses previous generation UX pattern. To create cluster on these images, create Dockerfile with contents below. Replace 'latest' base image with desired tag.

FROM mcr.microsoft.com/service-fabric/onebox:latest
WORKDIR /home/ClusterDeployer
RUN ./setup.sh
#Generate the local
RUN locale-gen en_US.UTF-8
#Set environment variables
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
EXPOSE 19080 19000 80 443
#Start SSH before running the cluster
CMD /etc/init.d/ssh start && ./run.sh

Build from Dockerfile directory:

docker build -t mysfcluster .

Run cluster:

docker run --name sftestcluster -d -v /var/run/docker.sock:/var/run/docker.sock -p 19080:19080 -p 19000:19000 -p 25100-25200:25100-25200 mysfcluster

⁠Support

If you have any problems with or questions about this image, please contact us through a GitHub issue⁠.

⁠Troubleshooting

To get diagnostic details run:

docker logs sftestcluster
  • If the cluster container doesn't start and exits with error:

    Starting Fabric Host as console application.
    IPC server open failed with 0x80070063
    

    Enable IPv6 in docker daemon using steps above: "How to Use this Image"

    Details: https://docs.docker.com/config/daemon/ipv6/⁠

⁠License

⁠Additional References

Tag Summary

No tags have been pushed to this repository yet.