examples Docker & Self-Hosted Deployment

GitHub

A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.

24,076 stars Python Python 42 files ยท ~58,655 tokens
1. Pull Image (DOCKERHUB) docker pull kubernetes/examples:latest
2. Docker Run (1-Click Launch) docker run -d --name examples --restart always kubernetes/examples:latest
3. Podman Run podman run -d --name examples --restart always kubernetes/examples:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/kubernetes/examples:latest
5. ORAS Pull (OCI Artifact) oras pull kubernetes/examples:latest
_archived/cluster-dns/images/frontend/Dockerfile
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:2.7-slim

RUN pip install requests

COPY . /dns-frontend
WORKDIR /dns-frontend

CMD ["python", "client.py"]