Categorygithub.com/rai-project/docker
modulepackage
0.0.0-20190404224953-9cec37067bc5
Repository: https://github.com/rai-project/docker.git
Documentation: pkg.go.dev

# README

rai-project/docker Build Status

Docker uses rai-project/config for configuration. The docker section of the configuration file should be written according to config.go.

Config

docker:
  - time_limit: 1h
  - image: ubuntu
  - memory_limit: 4gb
  - endpoints:
    - /run/docker.sock
    - /var/run/docker.sock
  - env:
    CI: rai
    RAI: true
    RAI_ARCH: linux/amd64
    RAI_USER: root
    RAI_SOURCE_DIR: /src
    RAI_DATA_DIR: /data
    RAI_BUILD_DIR: /build
    SOURCE_DIR: /src 
    DATA_DIR: /data 
    BUILD_DIR: /build 
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    TERM: xterm

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsArchive checks for the magic bytes of a tar or any supported compression algorithm.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewInStream returns a new InStream object from a ReadCloser.
NewOutStream returns a new OutStream object from a Writer.
No description provided by the author
No description provided by the author
cleanup dead containers and volumes frequently.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

DefaultDockerfileName is the Default filename with Docker commands, read by docker build.
HeaderSize is the size in bytes of a tar header.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExitError reports an unsuccessful exit by a command.
No description provided by the author
InStream is an input stream used by the DockerCli to read user input.
OutStream is an output stream used by the DockerCli to write normal program output.

# Interfaces

Streams is an interface which exposes the standard input and output streams.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author