Difference between revisions of "FROM"
Jump to navigation
Jump to search
↑ https://hub.docker.com/_/postgres
(29 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
https://docs.docker.com/engine/reference/builder/#from | https://docs.docker.com/engine/reference/builder/#from | ||
− | [[FROM python]]:slim | + | [[FROM python]] |
+ | [[FROM python:slim]] | ||
[[FROM python]]:[[Python 3.8|3.8]] | [[FROM python]]:[[Python 3.8|3.8]] | ||
+ | [[FROM python]]:[[Python 3.9|3.9]] | ||
− | |||
− | FROM [[ | + | [[FROM golang]] |
+ | |||
+ | [[FROM php]]:7.0-[[fpm]] | ||
+ | |||
+ | FROM [[rust]]:1.53.0-slim as rust | ||
+ | |||
+ | FROM [[Haskell]] | ||
+ | |||
+ | [[FROM php:apache]] | ||
+ | FROM [[--platform]]=linux/amd64 php:apache | ||
+ | |||
+ | [[FROM Ubuntu]] | ||
+ | [[FROM scratch]] | ||
+ | [[FROM alpine]] | ||
+ | [[FROM busybox]] | ||
+ | [[FROM mysql]] | ||
+ | [[FROM microsoft/windowsservercore]] | ||
+ | |||
+ | FROM [[elixir]]:1.13-slim | ||
+ | |||
+ | |||
+ | {{FROM node}} | ||
+ | |||
[[FROM postgres]]:12 <ref>https://hub.docker.com/_/postgres</ref> | [[FROM postgres]]:12 <ref>https://hub.docker.com/_/postgres</ref> | ||
− | + | ||
FROM [[adoptopenjdk]]/openjdk8 [[as]] builder | FROM [[adoptopenjdk]]/openjdk8 [[as]] builder | ||
− | FROM | + | |
+ | |||
+ | {{FROM public.ecr.aws}} | ||
FROM [[nginx:stable-alpine]] as your-description-here | FROM [[nginx:stable-alpine]] as your-description-here | ||
+ | [[FROM caddy]] | ||
== Related == | == Related == | ||
− | * [[EXPOSE]] | + | * <code>[[EXPOSE]]</code> |
* <code>[[docker build]]</code> | * <code>[[docker build]]</code> | ||
* <code>[[docker start]]</code> | * <code>[[docker start]]</code> | ||
* <code>[[ARG]]</code> | * <code>[[ARG]]</code> | ||
+ | * [[Kubernetes image:]] | ||
== Activities == | == Activities == | ||
Line 26: | Line 53: | ||
== See also == | == See also == | ||
+ | * {{FROM}} | ||
* {{Dockerfile}} | * {{Dockerfile}} | ||
* {{docker build}} | * {{docker build}} | ||
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 15:22, 22 May 2024
https://docs.docker.com/engine/reference/builder/#from
FROM python FROM python:slim FROM python:3.8 FROM python:3.9
FROM golang
FROM php:7.0-fpm
FROM rust:1.53.0-slim as rust
FROM Haskell
FROM php:apache FROM --platform=linux/amd64 php:apache
FROM Ubuntu FROM scratch FROM alpine FROM busybox FROM mysql FROM microsoft/windowsservercore
FROM elixir:1.13-slim
FROM node:lts-alpine FROM node:18-alpine FROM node:16-alpine FROM node:14-alpine FROM node:10
FROM postgres:12 [1]
FROM adoptopenjdk/openjdk8 as builder
FROM public.ecr.aws/panorama/panorama-application FROM public.ecr.aws/lts/ubuntu:20.04_stable FROM public.ecr.aws/lts/ubuntu:22.04_stable FROM public.ecr.aws/aws-observability/aws-otel-collector:v0.38.1 public.ecr.aws/aws-cli/aws-cli
FROM nginx:stable-alpine as your-description-here
FROM caddy
Related[edit]
Activities[edit]
See also[edit]
FROM, FROM postgres, FROM Ubuntu, FROM scratch, FROM alpine
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
Advertising: