Code Monkey home page Code Monkey logo

linux-containers's Introduction

Containers on IBM Z

This is a repository for information about containers and the mainframe. This information is built around Docker on IBM Z, and in most cases, it applies to both z/OS through the IBM zCX environment, and Linux on Z.

There are no images available here. This is a repository for source code and instructions on how to build your own images for deployment.

Key directories include:

  • examples - Dockerfiles, READMEs, and tools related to specific containerized workloads.
  • howto - things to know about building and deploying containers on IBM Z, and IBM z/OS Container Extensions (IBM zCX).

linux-containers's People

Contributors

gunaly avatar jbostian avatar yba-ibm avatar zacburns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

linux-containers's Issues

Update the grafana instructions

  • There is a bind mount authority issue when starting the cAdvisor container:
$ docker run -v /:/rootfs:ro -v /var/run:/var/run:ro -v /sys:/sys:ro \
> -v /var/lib/docker/:/var/lib/docker:ro -v /dev/disk/:/dev/disk:ro \
> -p 8080:8080 -d --network monitoring --name=cadvisor cadvisor
docker: Error response from daemon: authorization denied by plugin zcxauthplugin: Request to bind mount the path "/" with ro mode is disabled for Docker running on IBM zCX appliance instance.
See 'docker run --help'.
  • Same problem when starting nodeExporter:
$ docker run --name nodeexporter -v /proc:/host/proc:ro -v /sys:/host/sys:ro \
> -v /:/rootfs:ro -v /etc/hostname:/etc/host_hostname:ro -p 9100:9100 -d \
> --network monitoring nodeexporter
docker: Error response from daemon: authorization denied by plugin zcxauthplugin: Request to bind mount the path "/" with ro mode is disabled for Docker running on IBM zCX appliance instance.
See 'docker run --help'.

Clarify key and cert creation in the Dockerhub example

There is an instruction in the Dockerhub example that outlines how to use openssl to create a certificate and key for the running Dockerhub container to use. This step can't be performed from the appliance itself, and is most easily accomplished on a separate Linux system. Updating the doc to indicate this.

docker build --tag apache_kafka . fails with ERROR 404: Not Found.

--2021-02-15 16:36:31-- http://mirrors.estointernet.in/apache/kafka/2.5.0/kafka_2.12-2.5.0.tgz
Resolving mirrors.estointernet.in (mirrors.estointernet.in)... 43.255.166.254, 2403:8940:3:1::f
Connecting to mirrors.estointernet.in (mirrors.estointernet.in)|43.255.166.254|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-02-15 16:36:31 ERROR 404: Not Found.

The command '/bin/sh -c apt-get update && apt-get -y install git unzip wget && wget https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.5_10.tar.gz && tar -xvzf OpenJDK11U-jdk_s390x_linux_hotspot_11.0.5_10.tar.gz && rm OpenJDK11U-jdk_s390x_linux_hotspot_11.0.5_10.tar.gz && wget http://mirrors.estointernet.in/apache/kafka/2.5.0/kafka_${VERSION}.tgz && tar -xvzf kafka_${VERSION}.tgz && rm kafka_${VERSION}.tgz && mv kafka_${VERSION} kafka' returned a non-zero code: 8

trying to build grafana fails with: Get "https://proxy.golang.org/github.com/urfave/cli/@v/v1.22.1.zip": net/http: TLS handshake timeout exit status 1

go build -ldflags -w -X main.version=7.3.5 -X main.commit=11f305f88a -X main.buildstamp=1607529777 -X main.buildBranch=HEAD -o ./bin/linux-s390x/grafana-cli ./pkg/cmd/grafana-cli
go: downloading github.com/urfave/cli v1.22.1
pkg/cmd/grafana-cli/utils/command_line.go:7:2: github.com/urfave/[email protected]: Get "https://proxy.golang.org/github.com/urfave/cli/@v/v1.22.1.zip": net/http: TLS handshake timeout
exit status 1
exit status 1
make: *** [Makefile:32: build-go] Error 1
The command '/bin/sh -c apt-get update -y && apt-get install -y build-essential gcc git make python wget unzip && cd $GOPATH && wget https://dl.google.com/go/go${GO_VERSION}.linux-s390x.tar.gz && chmod ugo+r go${GO_VERSION}.linux-s390x.tar.gz && tar -C /usr/local -xzf go${GO_VERSION}.linux-s390x.tar.gz && cd $GOPATH && wget https://nodejs.org/dist/v${NODE_JS_VERSION}/node-v${NODE_JS_VERSION}-linux-s390x.tar.xz && chmod ugo+r node-v${NODE_JS_VERSION}-linux-s390x.tar.xz && tar -C /usr/local -xf node-v${NODE_JS_VERSION}-linux-s390x.tar.xz && git clone https://github.com/grafana/grafana.git $GOPATH/src/github.com/grafana/grafana && cd $GOPATH/src/github.com/grafana/grafana && git checkout v${GRAFANA_VER} && make deps-go && make build-go && npm install -g yarn && cd $GOPATH/src/github.com/grafana/grafana && make deps-js && make build-js' returned a non-zero code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.