
Debug-Run it locally to make sure the Web App works as expected. I’m going to use a CRC Calculator I’ve written. Open a Xojo Project with a Web Application. Both macOS and the Synology NAS will work just fine.Īre you ready and set up? So let’s go and try this.

To run a Docker Container with this image, we obviously need a machine supporting this. We’re going to build a Docker Image based on Ubuntu (Linux).You can double check this by entering this command: docker version And in Terminal.app you should have the command line tools available. After that you should have the Docker GUI up and running.
XOJO WEB APP INSTALL
Download and install it from here: Docker for macOS.

XOJO WEB APP LICENSE
XOJO WEB APP HOW TO
How to build a Docker Image containing a Xojo Web App? After that, you (or your team, or everyone) can just pull the Images to their Docker infrastructure and run them in a Container. So you’ll build the Docker Image with your Xojo Web App, push it to the Registry. Docker Hub is a service provided by Docker for finding and sharing container images with your team or the public. Docker Hub), it gets even more convenient. If you’re pushing the Docker Images to a Registry (e.g. You then can import the Images on the Docker environment of those machines, and serve your apps from there. This might be some Linux or macOS machine (Windows seems to be a bit more tricky), a Cloud Service – or even a Synology NAS. The Docker Images containing your Xojo Web Apps can be copied to other machines. Docker provides the infrastructure to host the apps, start/stop them, switch between image versions – and much more. That allows you to run an instance of your applications easily in a Docker Container. You can package your Xojo Web Apps in a Docker Image. A container is defined by its image as well as any configuration options you provide to it when you create or start it.Ī Docker Registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images. You can control how isolated a container’s network, storage, or other underlying subsystems are from other containers or from the host machine. By default, a container is relatively well isolated from other containers and its host machine. You can create, start, stop, move, or delete a container. To build your own image, you create a Dockerfile with a simple syntax for defining the steps needed to create the image and run it.Ī Docker container is a runnable instance of an image.

Often, an image is based on another image, with some additional customization. You can easily share containers while you work, and be sure that everyone you share with gets the same container that works in the same way.Ī Docker image is a read-only template with instructions for creating a Docker container. Containers are lightweight and contain everything needed to run the application, so you do not need to rely on what is currently installed on the host. The isolation and security allow you to run many containers simultaneously on a given host.

It provides the ability to package and run an application in a loosely isolated environment called a container. I’m just going to quote some basics from the Overview to give a brief introduction of Docker, Docker image and Docker container:ĭocker is an open platform for developing, shipping, and running applications. If you haven’t heard of Docker, go ahead and read their excellent Documentation: Docker – Overview.
