v2 Contract SDK
  • Orbs Contract SDK
  • Getting Started
    • About smart contracts
    • Becoming a Go developer
    • Installing Gamma - local blockchain
    • Deploying your first contract
    • The Orbs Starter Kit
    • Downloading the Contract SDK
  • Orbs Contracts
    • Smart contracts
    • Layout of a contract file
    • Data types (Exported Functions)
    • State
    • Address
    • Events
    • Error handling
    • Calling other contracts
    • Calling Ethereum contract
    • API Reference
    • Limitations of Orbs Contracts
    • Creating a new contract
  • Gamma in Depth
    • Starting and stopping the server
    • Test keys and accounts
    • Deploying smart contracts
    • Sending transactions and queries
    • Checking sent transaction status
    • Reading Logs from Contracts
    • Working with multiple environments
    • Upgrading to latest versions
    • Gamma server under the hood
    • Deploying Gamma in the Cloud
      • Amazon Web Services
      • Google Cloud Platform
      • Azure
Powered by GitBook
On this page
  • Docker image for Gamma
  • Running the docker image
  1. Gamma in Depth

Gamma server under the hood

This page is for informational purposes only for advanced users. These technical details are abstracted away from developers by Gamma CLI.

PreviousUpgrading to latest versionsNextDeploying Gamma in the Cloud

Last updated 6 years ago

Gamma server runs under the hood on . Docker is a platform that performs operating-system-level virtualization, also known as "containerization".

Docker image for Gamma

You can print docker images that are available on your machine using the docker CLI

docker images

If you've installed Gamma CLI successfully, you should see among the results something similar to

REPOSITORY          TAG                      IMAGE ID            CREATED             SIZE
orbsnetwork/gamma   v0.8.0                   61057f923f89        2 weeks ago         426MB

Gamma CLI downloads this image automatically from with docker pull

Running the docker image

When Gamma CLI is starting Gamma server, under the hood it's running

docker run -d --name orbs-gamma-server orbsnetwork/gamma

When Gamma CLI stops Gamma server, under the hood it's running

docker stop orbs-gamma-server
docker rm -f orbs-gamma-server

You can check if a docker container is currently running with

docker ps

And if it is, you can examine the logs of the container with

docker logs -f orbs-gamma-server
Docker
Docker Hub