Asset Types

Types of assets available in Ship

This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see

Replicated Ship Asset Types

Assets are the core object that enables you to describe applications managed by Ship. They allow you to define scripts, manifests, and application artifacts needed to deploy your application to your end customer’s internal infrastructure. The goal of Ship assets is to give your customers controlled, transparent access to the same resources you use to deploy your SaaS application to your own private cloud. Assets can include things like:

  • Scripts for installing and upgrading your application to a cloud server
  • Private Docker images or .tar.gz archives
  • Container orchestration manifests for Kubernetes or Docker Compose
  • Modules for infrastructure automation tools like Chef, Ansible, Salt, or Terraform
  • Any web content accessible from a private or public URL

Documented here are a number of methods Ship provides to facilitating distributing assets to your on-prem customers.

  • Inline in your application spec
  • Proxied from to private docker registries
  • Proxied from to private github repos
  • Mirrored from public github repos

In Ship, a short assets section to pull and run a private docker container might look like:

    - docker:
        dest: images/myimage.tar
        source: replicated
    - inline:
        dest: scripts/
        mode: 755
        contents: |

          echo "starting the application..."
          docker load < images/myimage.tar
          docker run -d

          echo "started!"
          exit 0