Migrate website to Hugo
Signed-off-by: Luc Perkins <lucperkins@gmail.com>
@ -1 +0,0 @@
|
||||
2.4.2
|
4
Gemfile
@ -1,4 +0,0 @@
|
||||
source "https://rubygems.org"
|
||||
gem "jekyll"
|
||||
gem "jekyll-redirect-from"
|
||||
gem "jekyll-seo-tag"
|
69
Gemfile.lock
@ -1,69 +0,0 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.5.2)
|
||||
public_suffix (>= 2.0.2, < 4.0)
|
||||
colorator (1.1.0)
|
||||
concurrent-ruby (1.0.5)
|
||||
em-websocket (0.5.1)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0.6.0)
|
||||
eventmachine (1.2.5)
|
||||
ffi (1.9.18)
|
||||
forwardable-extended (2.6.0)
|
||||
http_parser.rb (0.6.0)
|
||||
i18n (0.9.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jekyll (3.7.0)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
em-websocket (~> 0.5)
|
||||
i18n (~> 0.7)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 2.0)
|
||||
kramdown (~> 1.14)
|
||||
liquid (~> 4.0)
|
||||
mercenary (~> 0.3.3)
|
||||
pathutil (~> 0.9)
|
||||
rouge (>= 1.7, < 4)
|
||||
safe_yaml (~> 1.0)
|
||||
jekyll-redirect-from (0.13.0)
|
||||
jekyll (~> 3.3)
|
||||
jekyll-sass-converter (1.5.1)
|
||||
sass (~> 3.4)
|
||||
jekyll-seo-tag (2.4.0)
|
||||
jekyll (~> 3.3)
|
||||
jekyll-watch (2.0.0)
|
||||
listen (~> 3.0)
|
||||
kramdown (1.16.2)
|
||||
liquid (4.0.0)
|
||||
listen (3.1.5)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
ruby_dep (~> 1.2)
|
||||
mercenary (0.3.6)
|
||||
pathutil (0.16.1)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (3.0.1)
|
||||
rb-fsevent (0.10.2)
|
||||
rb-inotify (0.9.10)
|
||||
ffi (>= 0.5.0, < 2)
|
||||
rouge (3.1.0)
|
||||
ruby_dep (1.5.0)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.5.4)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
jekyll
|
||||
jekyll-redirect-from
|
||||
jekyll-seo-tag
|
||||
|
||||
BUNDLED WITH
|
||||
1.16.1
|
13
docs/.editorconfig
Normal file
@ -0,0 +1,13 @@
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
max_line_length = 80
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = false
|
||||
|
||||
[*.{html,js,sh,sass,md,mmark}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
8
docs/.gitignore
vendored
@ -1,8 +1,6 @@
|
||||
**/.DS_Store
|
||||
**/desktop.ini
|
||||
.bundle/**
|
||||
.jekyll-metadata
|
||||
_site/**
|
||||
.sass-cache/**
|
||||
CNAME
|
||||
Gemfile.lock
|
||||
|
||||
# Hugo-generated content
|
||||
public/
|
||||
|
@ -15,4 +15,4 @@
|
||||
|
||||
FROM nginx
|
||||
|
||||
COPY _site /usr/share/nginx/html
|
||||
COPY public /usr/share/nginx/html
|
||||
|
25
docs/hooks/pre_build → docs/Makefile
Executable file → Normal file
@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright The containerd Authors.
|
||||
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -14,13 +12,20 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
HUGO = hugo
|
||||
BASE_URL = https://containerd.io
|
||||
|
||||
echo "=> Building the binary"
|
||||
docker run --privileged \
|
||||
-v $(pwd):/usr/src/app \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
starefossen/github-pages jekyll build
|
||||
echo $(pwd)
|
||||
ls -la
|
||||
ls -la _site
|
||||
clean:
|
||||
rm -rf public
|
||||
|
||||
build: clean
|
||||
$(HUGO) \
|
||||
--baseURL $(BASE_URL)
|
||||
|
||||
build-preview: clean
|
||||
$(HUGO)
|
||||
|
||||
dev: clean
|
||||
$(HUGO) server \
|
||||
--disableFastRender \
|
||||
--ignoreCache
|
@ -1,10 +1,12 @@
|
||||
# Containerd website
|
||||
|
||||
The containerd website is built using Jekyll and published to Github pages.
|
||||
The containerd website at https://containerd.io is built using [Hugo](https://gohugo.io) and published to [Netlify](https://netlify.com).
|
||||
|
||||
In order to build and test locally:
|
||||
```
|
||||
docker run -it -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages
|
||||
```
|
||||
Then browser to localhost:4000 to see the rendered site. The site autorefreshes when you modify files locally.
|
||||
To develop the site locally in "watch" mode (using Docker):
|
||||
|
||||
```bash
|
||||
$ docker run -it -v $(pwd):/src -p "1313:1313" -e HUGO_WATCH=true jojomi/hugo
|
||||
```
|
||||
|
||||
You can then open up your browser to localhost:1313 to see the rendered site. The site auto-refreshes when you modify files locally.
|
||||
|
||||
|
@ -1,23 +0,0 @@
|
||||
markdown: kramdown
|
||||
kramdown:
|
||||
input: GFM
|
||||
html_to_native: true
|
||||
hard_wrap: false
|
||||
syntax_highlighter: rouge
|
||||
incremental: true
|
||||
permalink: pretty
|
||||
safe: false
|
||||
lsi: false
|
||||
exclude: [README.md]
|
||||
|
||||
plugins:
|
||||
- jekyll-redirect-from
|
||||
- jekyll-seo-tag
|
||||
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: "pages"
|
||||
values:
|
||||
layout: default
|
@ -1,21 +0,0 @@
|
||||
<div class="footer">
|
||||
<div class="footer-links">
|
||||
{% include links.html %}
|
||||
</div>
|
||||
<div class="copyright">
|
||||
Copyright (c) 2016-2018 the containerd authors
|
||||
</div>
|
||||
</div>
|
||||
<script src="style/js/jquery-2.1.4.min.js"></script>
|
||||
<script src="style/js/highlight.min.js"></script>
|
||||
<script src="style/js/main.js"></script>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', 'UA-71407002-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ page.title }}</title>
|
||||
<link rel="icon" type="image/png" href="images/favicon-16x16.png" sizes="16x16">
|
||||
<link href="style/css/flexboxgrid.css" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
<link href="style/css/main.css" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
<link href="style/css/tomorrow-night.css" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:300,400|Raleway:400,700i,800" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
@ -1,3 +0,0 @@
|
||||
<div class="link">
|
||||
<a href="https://github.com/containerd/containerd"><img src="images/containerd-light-d.png"/></a>
|
||||
</div>
|
@ -1,15 +0,0 @@
|
||||
{% include header.html %}
|
||||
|
||||
<div class="navbar white">
|
||||
<div class="name"><a href="/">containerd<span class="org">By Docker</span></a></div>
|
||||
<div class="actions">
|
||||
{% include links.html %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="wrapper-details">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include footer.html %}
|
@ -1,18 +0,0 @@
|
||||
{% include header.html %}
|
||||
|
||||
<div class="hero">
|
||||
<div class="navbar">
|
||||
<div class="name"><a href="/">containerd</a></div>
|
||||
<div class="actions">
|
||||
{% include links.html %}
|
||||
</div>
|
||||
</div>
|
||||
<p class="definition"><strong>containerd</strong> <span>| kənˈtānər D |</span><br> - an industry-standard container runtime<br>with an emphasis on <i>simplicity</i>,<br><i>robustness</i> and <i>portability</i>.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="wrapper-details">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include footer.html %}
|
16
docs/config.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
title: containerd
|
||||
baseURL: /
|
||||
disableKinds: ["taxonomy", "taxonomyTerm"]
|
||||
|
||||
params:
|
||||
googleAnalyticsId: UA-71407002-1
|
||||
favicon: /img/favicon.png
|
||||
fontImport: https://fonts.googleapis.com/css?family=Lato:300,400|Raleway:400,700i,800
|
||||
css:
|
||||
- main
|
||||
- flexboxgrid
|
||||
- tomorrow-night
|
||||
js:
|
||||
- jquery-2.1.4.min
|
||||
- highlight.min
|
||||
- main
|
@ -1,17 +1,9 @@
|
||||
---
|
||||
title: containerd
|
||||
layout: home
|
||||
---
|
||||
|
||||
## News
|
||||
|
||||
* [Sign up for DockerCon in June](https://2018.dockercon.com)
|
||||
* [Feb 2018: containerd 1.0.2-rc.1 release](https://github.com/containerd/containerd/releases/tag/v1.0.2-rc.1)
|
||||
* [Dec 2017: The New Stack: Containerd 1.0 Release Becomes the Public Face of Containers](https://thenewstack.io/containerd-1-0-release/)
|
||||
* [Dec 2017: containerd 1.0 release announcement](https://blog.docker.com/2017/12/cncf-containerd-1-0-ga-announcement/)
|
||||
* [March 2017: Docker to donate containerd to the Cloud Native Computing Foundation](https://blog.docker.com/2017/03/docker-donates-containerd-to-cncf/)
|
||||
* [February 2017: containerd Summit recap](https://blog.docker.com/2017/02/containerd-summit-recap-slides-videos-meeting-notes/)
|
||||
* [January 2017: containerd Livestream recap](https://blog.docker.com/2017/01/containerd-livestream-recap)
|
||||
{{< news >}}
|
||||
|
||||
## About containerd
|
||||
|
||||
@ -23,18 +15,11 @@ containerd includes a daemon exposing gRPC API over a local UNIX socket. The API
|
||||
|
||||
containerd is based on the Docker Engine’s core container runtime to benefit from its maturity and existing contributors.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Features and roadmap
|
||||
|
||||
* OCI Image Spec support
|
||||
* OCI Runtime Spec support (aka runC)
|
||||
* Image push and pull support
|
||||
* Container runtime and lifecycle support
|
||||
* Network primitives for creation, modification, and deletion of interfaces
|
||||
* Management of network namespaces containers to join existing namespaces
|
||||
* Multi-tenant supported with CAS storage for global images
|
||||
{{< features >}}
|
||||
|
||||
containerd, currently in [version 1.0.1](https://github.com/containerd/containerd/releases/tag/v1.0.1), is a daemon born from extracting the container execution subset of the Docker Engine, and is [used internally by Docker since the 1.11 release](https://blog.docker.com/2016/04/docker-engine-1-11-runc/). containerd versions prior to v1.0.x were used in Docker 17.10 and earlier (see Docker [version release notes](https://github.com/docker/docker-ce/releases)), and [Docker 17.12](https://github.com/docker/docker-ce/releases/tag/v17.12.0-ce) is the first release to use containerd v1.0.0.
|
||||
|
||||
@ -42,9 +27,9 @@ The containerd maintainers do not provide a consolidated [containerd roadmap](ht
|
||||
|
||||
## Architecture
|
||||
|
||||
Containerd [architecture](https://github.com/containerd/containerd/blob/master/design/architecture.md) and [API](https://github.com/containerd/containerd/tree/master/api/) are described in the Github repository.
|
||||
Containerd [architecture](https://github.com/containerd/containerd/blob/master/design/architecture.md) and [API](https://github.com/containerd/containerd/tree/master/api/) are described in the GitHub repository.
|
||||
|
||||

|
||||

|
||||
|
||||
## Principles and Releases
|
||||
|
||||
@ -93,27 +78,27 @@ Each major version will be supported for 1 year with bug fixes and security patc
|
||||
Docker is a complete platform and programming environment for containerized applications. containerd is one of dozens of specialized components integrated into Docker. Developers and IT professionals looking to build, ship and run containerized applications should continue to use Docker. Operators and integrators looking for specialized components to swap into their platform should consider containerd.
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
containerd 0.2.4 used in Docker 1.12 covers only container execution and process management.
|
||||
|
||||

|
||||

|
||||
|
||||
containerd's roadmap is to refactor the Docker Engine codebase to extract more of its logic for distribution, networking and storage on a single host into a reusable component that Docker will use, and that can be used by other container orchestration projects or hosted container services.
|
||||
|
||||

|
||||

|
||||
|
||||
2. What is the relationship between containerd, OCI and runc?
|
||||
|
||||
Docker [donated the OCI specification to the Linux Foundation in 2015](https://blog.docker.com/2015/06/open-container-project-foundation/), along with a reference implementation called `runc`. containerd integrates [OCI](https://www.opencontainers.org/)/[runc](https://runc.io/) into a feature-complete, production-ready core container runtime. runc is a component of containerd, the executor for containers. containerd has a wider scope than just executing containers: downloading container images, managing storage and network interfaces, calling runc with the right parameters to run containers. containerd fully leverages the Open Container Initiative’s (OCI) runtime, image format specifications and OCI reference implementation (runc) and will pursue OCI certification when it is available. Because of its massive adoption, containerd is the industry standard for implementing OCI.
|
||||
Docker [donated the OCI specification to the Linux Foundation in 2015](https://blog.docker.com/2015/06/open-container-project-foundation/), along with a reference implementation called `runc`. containerd integrates [OCI](https://www.opencontainers.org/)/[runc](https://runc.io/) into a feature-complete, production-ready core container runtime. runc is a component of containerd, the executor for containers. containerd has a wider scope than just executing containers: downloading container images, managing storage and network interfaces, calling runc with the right parameters to run containers. containerd fully leverages the Open Container Initiative’s (OCI) runtime, image format specifications and OCI reference implementation (runc) and will pursue OCI certification when it is available. Because of its massive adoption, containerd is the industry standard for implementing OCI.
|
||||
|
||||

|
||||

|
||||
|
||||
3. What is the relationship between containerd and container orchestration systems like Kubernetes and Mesos?
|
||||
|
||||
Kubernetes today uses Docker directly. In a future version Kubernetes can implement container support in the Kubelet by implementing it's [Container Runtime Interface](https://github.com/kubernetes/kubernetes/blob/release-1.5/docs/devel/container-runtime-interface.md) using containerd. Mesos and other orchestration engines can leverage containerd for core container runtime functionality as well.
|
||||
|
||||

|
||||

|
||||
|
||||
4. What is the relationship between containerd and cloud managed container services?
|
||||
|
||||
@ -121,6 +106,6 @@ See answer above: cloud managed container services can leverage containerd inste
|
||||
|
||||
## CNCF
|
||||
|
||||

|
||||

|
||||
|
||||
We are a Cloud Native Computing Foundation member project.
|
@ -1,4 +1,7 @@
|
||||
# Client Options
|
||||
---
|
||||
title: Client options
|
||||
draft: true
|
||||
---
|
||||
|
||||
The containerd client was built to be easily extended by consumers.
|
||||
The goal is that the execution flow of the calls remain the same across implementations while `Opts` are written to extend functionality.
|
@ -1,15 +1,15 @@
|
||||
---
|
||||
title: Dockercon 2017 Summit
|
||||
layout: home
|
||||
draft: true
|
||||
---
|
||||
|
||||
# Dockercon 2017 Summit
|
||||
|
||||
This year at Dockercon US 2017 we will be having a containerd Summit on Thursday morning the week of the conference.
|
||||
This year at Dockercon US 2017 we will be having a containerd Summit on Thursday morning the week of the conference.
|
||||
|
||||
We are going to change the format slightly compared to the previous summit that was held in February. We will be allocating more time to the breakout sessions and less time to static talks. However, the group will be much larger than the previous summit so this document serves as a way to add discussion points for the breakout sessions.
|
||||
We are going to change the format slightly compared to the previous summit that was held in February. We will be allocating more time to the breakout sessions and less time to static talks. However, the group will be much larger than the previous summit so this document serves as a way to add discussion points for the breakout sessions.
|
||||
|
||||
If you would like to add a discussion point to the agenda, submit a PR adding it to the list below. A simple one line sentence is enough or expand if needed.
|
||||
If you would like to add a discussion point to the agenda, submit a PR adding it to the list below. A simple one line sentence is enough or expand if needed.
|
||||
|
||||
If you have not signed up to attend the summit you can do so in this [form](https://docs.google.com/forms/d/e/1FAIpQLScNkLm984ABbFChPh02uJR2lJ6y1AXjFaDITCaxTFL-sHhPwQ/viewform).
|
||||
|
||||
@ -18,9 +18,9 @@ If you have not signed up to attend the summit you can do so in this [form](http
|
||||
The following are proposed discussion points for the containerd summit at Dockercon US 2017:
|
||||
|
||||
|
||||
* Since containerd is one of the bottom bricks in the stack, how can we setup automated integration tests for consumers of containerd?
|
||||
* Since containerd is one of the bottom bricks in the stack, how can we setup automated integration tests for consumers of containerd?
|
||||
* We'd like to propose an Authorization plugin to containerd that would allow an external component to police events like container start & stop (and have a discussion about the best way to go about it)
|
||||
* Should containerd provide image filesystem metrics? If yes, what metrics should be included? How to implement that?
|
||||
* Support for disk quotas: How? What is the role of containerd? How is it going to be integrated with volume managers that want to be in the same quota group?
|
||||
* Checkpoint/Restore: how can we support more use cases? One of the big issues here is the large number of options that can be passed to CRIU.
|
||||
* How to support multi-OS docker images, for example, Linux Vs Windows using one graph driver plugin properly?
|
||||
* How to support multi-OS docker images, for example, Linux Vs Windows using one graph driver plugin properly?
|
@ -1,4 +1,7 @@
|
||||
# Getting started with containerd
|
||||
---
|
||||
title: Getting started with containerd
|
||||
draft: true
|
||||
---
|
||||
|
||||
There are many different ways to use containerd.
|
||||
If you are a developer working on containerd you can use the `ctr` tool to quickly test features and functionality without writing extra code.
|
@ -1,4 +1,7 @@
|
||||
# containerd Namespaces and Multi-Tenancy
|
||||
---
|
||||
title: containerd Namespaces and Multi-Tenancy
|
||||
draft: true
|
||||
---
|
||||
|
||||
containerd offers a fully namespaced API so multiple consumers can all use a single containerd instance without conflicting with one another.
|
||||
Namespaces allow multi-tenancy within a single daemon. This removes the need for the common pattern of using nested containers to achieve this separation.
|
@ -1,4 +1,7 @@
|
||||
# containerd for Ops and Admins
|
||||
---
|
||||
title: containerd for Ops and Admins
|
||||
draft: true
|
||||
---
|
||||
|
||||
containerd is meant to be a simple daemon to run on any system.
|
||||
It provides a minimal config with knobs to configure the daemon and what plugins are used when necessary.
|
7
docs/data/features.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
- OCI Image Spec support
|
||||
- OCI Runtime Spec support (aka runC)
|
||||
- Image push and pull support
|
||||
- Container runtime and lifecycle support
|
||||
- Network primitives for creation, modification, and deletion of interfaces
|
||||
- Management of network namespaces containers to join existing namespaces
|
||||
- Multi-tenant supported with CAS storage for global images
|
20
docs/data/news.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
- title: Sign up for DockerCon in June
|
||||
link: https://2018.dockercon.com/
|
||||
- title: containerd 1.0.2-rc.1 release
|
||||
link: https://github.com/containerd/containerd/releases/tag/v1.0.2-rc.1
|
||||
date: February 2018
|
||||
- title: "The New Stack: Containerd 1.0 Release Becomes the Public Face of Containers"
|
||||
link: https://thenewstack.io/containerd-1-0-release/
|
||||
date: December 2017
|
||||
- title: containerd 1.0 release announcement
|
||||
link: https://blog.docker.com/2017/12/cncf-containerd-1-0-ga-announcement/
|
||||
date: December 2017
|
||||
- title: Docker to donate containerd to the Cloud Native Computing Foundation
|
||||
link: https://blog.docker.com/2017/03/docker-donates-containerd-to-cncf/
|
||||
date: March 2017
|
||||
- title: containerd Summit recap
|
||||
link: https://blog.docker.com/2017/02/containerd-summit-recap-slides-videos-meeting-notes/
|
||||
date: February 2017
|
||||
- title: containerd Livestream recap
|
||||
link: https://blog.docker.com/2017/01/containerd-livestream-recap
|
||||
date: January 2017
|
5
docs/layouts/404.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<h2>
|
||||
We're sorry, but this page could not be found. Return to the main site <a href="/">here</a>.
|
||||
</h2>
|
||||
{{ end }}
|
35
docs/layouts/_default/baseof.html
Normal file
@ -0,0 +1,35 @@
|
||||
{{- $prodSite := not .Site.IsServer -}}
|
||||
{{- $faviconUrl := .Site.Params.favicon | absURL -}}
|
||||
{{- $fontImport := .Site.Params.fontImport -}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ default "en" .Site.LanguageCode }}">
|
||||
<head>
|
||||
{{ .Hugo.Generator }}
|
||||
{{- partial "meta.html" . }}
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
{{- partial "css.html" . }}
|
||||
<link rel="icon" type="image/png" href="{{ $faviconUrl }}" sizes="16x16">
|
||||
<link href="{{ $fontImport }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="hero">
|
||||
{{- partial "navbar.html" . }}
|
||||
{{- partial "definition.html" . }}
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="wrapper-details">
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{- partial "footer.html" . }}
|
||||
|
||||
{{- partial "javascript.html" . }}
|
||||
{{- if $prodSite }}
|
||||
{{- partial "google-analytics.html" . }}
|
||||
{{- end }}
|
||||
</body>
|
||||
</html>
|
3
docs/layouts/_default/single.html
Normal file
@ -0,0 +1,3 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
3
docs/layouts/docs/single.html
Normal file
@ -0,0 +1,3 @@
|
||||
{{ define "main" }}
|
||||
<h1>This is a docs page</h1>
|
||||
{{ end }}
|
3
docs/layouts/index.html
Normal file
@ -0,0 +1,3 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
4
docs/layouts/partials/css.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{- $cssFiles := .Site.Params.css -}}
|
||||
{{- range $cssFiles }}
|
||||
<link rel="stylesheet" href="{{ printf "/css/%s.css" . | absURL}}">
|
||||
{{- end }}
|
3
docs/layouts/partials/definition.html
Normal file
@ -0,0 +1,3 @@
|
||||
<p class="definition">
|
||||
<strong>containerd</strong> <span>| kənˈtānər D |</span><br> – an industry-standard container runtime<br>with an emphasis on <i>simplicity</i>,<br><i>robustness</i> and <i>portability</i>.
|
||||
</p>
|
10
docs/layouts/partials/footer.html
Normal file
@ -0,0 +1,10 @@
|
||||
<div class="footer">
|
||||
<div class="footer-links">
|
||||
<div class="link">
|
||||
<a href="https://github.com/containerd/containerd"><img src="/img/containerd-light-d.png"/></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
Copyright (c) 2016-2018 the containerd authors
|
||||
</div>
|
||||
</div>
|
9
docs/layouts/partials/google-analytics.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{- $gaId := .Site.Params.googleAnalyticsId }}
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', {{ $gaId }}, 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
4
docs/layouts/partials/javascript.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{- $jsFiles := .Site.Params.js -}}
|
||||
{{- range $jsFiles }}
|
||||
<script src="{{ printf "/js/%s.js" . | absURL }}"></script>
|
||||
{{- end }}
|
2
docs/layouts/partials/meta.html
Normal file
@ -0,0 +1,2 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
docs/layouts/partials/navbar.html
Normal file
@ -0,0 +1,8 @@
|
||||
<div class="navbar">
|
||||
<div class="name"><a href="/">containerd</a></div>
|
||||
<div class="actions">
|
||||
<div class="link">
|
||||
<a href="https://github.com/containerd/containerd"><img src="/img/containerd-light-d.png"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
6
docs/layouts/shortcodes/features.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{- $features := .Site.Data.features }}
|
||||
<ul>
|
||||
{{- range $features }}
|
||||
<li>{{ . | markdownify }}</li>
|
||||
{{- end }}
|
||||
</ul>
|
10
docs/layouts/shortcodes/news.html
Normal file
@ -0,0 +1,10 @@
|
||||
{{- $news := .Site.Data.news }}
|
||||
<ul>
|
||||
{{- range $news }}
|
||||
<li>
|
||||
<a href="{{ .link }}">
|
||||
{{ with .date }}{{ . }}: {{ end }}{{ .title }}
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
@ -75,7 +75,7 @@
|
||||
|
||||
// Flex shrink
|
||||
// - applies to: flex item shrink factor
|
||||
// <number>
|
||||
// <number>
|
||||
.flex-shrink(@shrink: 1) {
|
||||
-webkit-flex-shrink: @shrink;
|
||||
-moz-flex-shrink: @shrink;
|
||||
@ -86,7 +86,7 @@
|
||||
// Flex basis
|
||||
// - the initial main size of the flex item
|
||||
// - applies to: flex itemsnitial main size of the flex item
|
||||
// <width>
|
||||
// <width>
|
||||
.flex-basis(@width: auto) {
|
||||
-webkit-flex-basis: @width;
|
||||
-moz-flex-basis: @width;
|
||||
@ -96,7 +96,7 @@
|
||||
|
||||
// Axis Alignment
|
||||
// - applies to: flex containers
|
||||
// flex-start | flex-end | center | space-between | space-around
|
||||
// flex-start | flex-end | center | space-between | space-around
|
||||
.justify-content(@justify: flex-start) {
|
||||
-webkit-justify-content: @justify;
|
||||
-moz-justify-content: @justify;
|
||||
@ -106,7 +106,7 @@
|
||||
|
||||
// Packing Flex Lines
|
||||
// - applies to: multi-line flex containers
|
||||
// flex-start | flex-end | center | space-between | space-around | stretch
|
||||
// flex-start | flex-end | center | space-between | space-around | stretch
|
||||
.align-content(@align: stretch) {
|
||||
-webkit-align-content: @align;
|
||||
-moz-align-content: @align;
|
||||
@ -116,7 +116,7 @@
|
||||
|
||||
// Cross-axis Alignment
|
||||
// - applies to: flex containers
|
||||
// flex-start | flex-end | center | baseline | stretch
|
||||
// flex-start | flex-end | center | baseline | stretch
|
||||
.align-items(@align: stretch) {
|
||||
-webkit-align-items: @align;
|
||||
-moz-align-items: @align;
|
||||
@ -126,7 +126,7 @@
|
||||
|
||||
// Cross-axis Alignment
|
||||
// - applies to: flex items
|
||||
// auto | flex-start | flex-end | center | baseline | stretch
|
||||
// auto | flex-start | flex-end | center | baseline | stretch
|
||||
.align-self(@align: auto) {
|
||||
-webkit-align-self: @align;
|
||||
-moz-align-self: @align;
|
@ -180,8 +180,8 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
.details, .terminal {
|
||||
width: 100%;
|
||||
.details, .terminal {
|
||||
width: 100%;
|
||||
}
|
||||
.wrapper-terminal {
|
||||
padding: 0 2rem 2rem 2rem;
|
||||
@ -192,7 +192,7 @@
|
||||
.details {
|
||||
width: 60%;
|
||||
}
|
||||
.terminal {
|
||||
.terminal {
|
||||
width: 40%;
|
||||
}
|
||||
.wrapper-terminal {
|
@ -1,4 +1,4 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
@ -12,8 +12,8 @@ b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
@ -24,7 +24,7 @@ time, mark, audio, video {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
@ -105,7 +105,7 @@ section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
background: url(../../images/bg10.jpg);
|
||||
background: url(../../img/bg10.jpg);
|
||||
background-position: center;
|
||||
background-attachment: fixed;
|
||||
-webkit-background-size: cover;
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 239 KiB |
Before Width: | Height: | Size: 153 KiB After Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 711 B After Width: | Height: | Size: 711 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 231 B |