service-fabric/onebox
Official images to run Service Fabric Linux cluster on your Linux, Mac or Windows machine.
u18 u16 latest 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.
For information on how to use this image on Mac or Linux environments please follow instructions here.
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"
}
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
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
| Tags | OS Version | SF Version | Notes |
|---|---|---|---|
| u18 | Ubuntu 18.04 LTS | 8.1.323.1 | Recommended |
| u18_8.1.323.1 | Ubuntu 18.04 LTS | 8.1.323.1 | |
| u18_8.1.320.1 | Ubuntu 18.04 LTS | 8.1.320.1 | |
| u18_8.0.527.1 | Ubuntu 18.04 LTS | 8.0.527.1 | |
| u18_8.0.515.1 | Ubuntu 18.04 LTS | 8.0.515.1 | |
| u18_8.0.513.1804 | Ubuntu 18.04 LTS | 8.0.513.1804 | |
| u18_7.2.476.1804 | Ubuntu 18.04 LTS | 7.2.476.1804 | |
| u18_7.2.456.1804 | Ubuntu 18.04 LTS | 7.2.456.1804 | |
| u18_7.2.454.1804 | Ubuntu 18.04 LTS | 7.2.454.1804 | |
| u18_7.2.447.1804 | Ubuntu 18.04 LTS | 7.2.447.1804 | |
| u18_7.2.431.1804 | Ubuntu 18.04 LTS | 7.2.431.1804 | |
| u18_7.1.454.1804 | Ubuntu 18.04 LTS | 7.1.454.1804 | |
| u18_7.1.452.1804 | Ubuntu 18.04 LTS | 7.1.452.1804 | |
| u16 | Ubuntu 16.04 LTS | 8.1.323.1 | 16.04 LTS support ended 04/2021 |
| u16_8.1.323.1 | Ubuntu 16.04 LTS | 8.1.323.1 | |
| u16_8.1.320.1 | Ubuntu 16.04 LTS | 8.1.320.1 | |
| u16_8.0.527.1 | Ubuntu 16.04 LTS | 8.0.527.1 | |
| u16_8.0.515.1 | Ubuntu 16.04 LTS | 8.0.515.1 | |
| u16_8.0.513.1 | Ubuntu 16.04 LTS | 8.0.513.1 | |
| u16_7.2.476.1 | Ubuntu 16.04 LTS | 7.2.476.1 | |
| u16_7.2.456.1 | Ubuntu 16.04 LTS | 7.2.456.1 | |
| u16_7.2.454.1 | Ubuntu 16.04 LTS | 7.2.454.1 | |
| u16_7.2.447.1 | Ubuntu 16.04 LTS | 7.2.447.1 | |
| u16_7.2.431.1 | Ubuntu 16.04 LTS | 7.2.431.1 | |
| u16_7.1.454.1 | Ubuntu 16.04 LTS | 7.1.454.1 | |
| u16_7.1.452.1 | Ubuntu 16.04 LTS | 7.1.452.1 | |
| latest | Ubuntu 16.04 LTS | 7.1.410.1 | Tag is deprecated; uses legacy * UX pattern |
| 7.1.410.1 | Ubuntu 16.04 LTS | 7.1.410.1 | * |
| 7.0.471.1 | Ubuntu 16.04 LTS | 7.0.471.1 | * |
| 7.0.469.1 | Ubuntu 16.04 LTS | 7.0.469.1 | * |
| 7.0.465.1 | Ubuntu 16.04 LTS | 7.0.465.1 | * |
| 7.0.464.1 | Ubuntu 16.04 LTS | 7.0.464.1 | * |
| 7.0.457.1 | Ubuntu 16.04 LTS | 7.0.457.1 | * |
| 6.5.467.1 | Ubuntu 16.04 LTS | 6.5.467.1 | * |
| 6.5.466.1 | Ubuntu 16.04 LTS | 6.5.466.1 | * |
| 6.5.460.1 | Ubuntu 16.04 LTS | 6.5.460.1 | * |
| 6.5.454.1 | Ubuntu 16.04 LTS | 6.5.454.1 | * |
| 6.5.435.1 | Ubuntu 16.04 LTS | 6.5.435.1 | * |
| 6.4.661.1 | Ubuntu 16.04 LTS | 6.4.661.1 | * |
| 6.4.649.1 | Ubuntu 16.04 LTS | 6.4.649.1 | * |
| 6.4.625 | Ubuntu 16.04 LTS | 6.4.625.1 | * |
| 6.3.119 | Ubuntu 16.04 LTS | 6.3.119.1 | * |
| 6.2.199 | Ubuntu 16.04 LTS | 6.2.199.1 | * |
| 6.2.194 | Ubuntu 16.04 LTS | 6.2.194.1 | * |
| 6.2.191 | Ubuntu 16.04 LTS | 6.2.191.1 | * |
| 6.2.186 | Ubuntu 16.04 LTS | 6.2.186.1 | * |
| 6.2.133 | Ubuntu 16.04 LTS | 6.2.133.1 | * |
* - 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
If you have any problems with or questions about this image, please contact us through a GitHub issue.
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"
No tags have been pushed to this repository yet.