Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support Installing pouch on various distributions #67

Closed
allencloud opened this issue Nov 8, 2017 · 8 comments
Closed
Assignees
Labels
areas/log kind/feature kind/feature-request This is a feature request from community for PouchContainer

Comments

@allencloud
Copy link
Collaborator

allencloud commented Nov 8, 2017

Issue Description
support Installing pouch on various distributions

Describe what happened:
NONE

Describe what you expected to happen:

How to reproduce it (as minimally and precisely as possible):
NONE

Anything else we need to know?:
NONE

Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added areas/log areas/test kind/feature kind/feature-request This is a feature request from community for PouchContainer labels Nov 8, 2017
@allencloud
Copy link
Collaborator Author

Could you help to figure out a way for this? @zzchun
😄

@allencloud
Copy link
Collaborator Author

Any update on this issue? @zzchun
Feel free to tell us if you need any help.

@allencloud allencloud added this to the v0.1-Milestone milestone Dec 28, 2017
@zzchun
Copy link
Contributor

zzchun commented Jan 9, 2018

@allencloud There are two issues to be discussed.

1. How to name the rpm package

Usually, the name of rpm package contains name, version number, release number, system platform, extension name and so on. For example:

 pouch-1.0.0-57.el7.centos.x86_64.rpm
  |     |        |      |     |    |
 name   |        |      |     |    |
   version NO.   |      |     |  |
             release No.|     |    |
                      system  |    |
                  system platfrom  |
                            extension name

Note:
    pouch  :software name
    1.0.0  :version No.
    57.el7 :Release number mainly for software bug or vulnerability patch, the software features and no change, el6 refers to the release rhel6 system
    centos :Refers to Centos OS
    x86_64 :Refers to the 64-bit architecture, noarch means does not distinguish hardware architecture
    rpm    :extensiton name

so,We need to define a naming convention.

2.Add description information

I marked the fields with "?" that I can't determine its values, which are need to be discussed

Version     : ?
Release     : ? 1.el7.centos 
Architecture: x86_64 
Install Date: (not installed)
Group       : ? Tools/Pouch 
Size        : 
License     : ? Apache License 2.0 
Signature   : RSA/SHA512, Fri 08 Dec 2017 07:00:19 AM CST, Key ID c52feb6b621e9f35
Source RPM  : Full name of RPM
Build Date  : Build date
Build Host  : The hostname that builded pouch
Relocations : (not relocatable)
Packager    : ? eg: Pouch <support@pouch.com>
Vendor      : Pouch
URL         : ? https://github.com/alibaba/pouch
Summary     : ? The open-source application container engine
Description :
? Pouch is an open-source project created by Alibaba Group to promote the container technology movement.

Pouch's vision is to advance container ecosystem and promote container standards OCI(Open Container Initiative), so that container technologies become the foundation for application development in the Cloud era.

Pouch can pack, deliver and run any application. It provides applications with a lightweight runtime environment with strong isolation and minimal overhead. Pouch isolates applications from varying runtime environment, and minimizes operational workload. Pouch minimizes the effort for application developers to write Cloud-native applications, or to migrate legacy ones to a Cloud platform.

@allencloud allencloud changed the title [feature request] stream log of Pouchd into a specified log file [feature request] support Installing pouch on various distributions Jan 9, 2018
@allencloud
Copy link
Collaborator Author

cc @sunyuan3

@sunyuan3
Copy link
Contributor

sunyuan3 commented Jan 9, 2018

@allencloud I need the following info for testing.

  1. supported OS release: For example, ubuntu16.04 64bit, centos 7.2.(OS release iso file need to be provied.)

  2. rpm or deb package, installation command.

  3. apt-get or yum server. How to add apt-get or yum server address to test hosts? How to install pouch by apt-get or yum? It is suggested to provide a installation script.
    For docker, the script is "curl -fsSL https://test.docker.com/ | sh". Please refer to the below link.
    https://github.com/moby/moby/releases/tag/v17.04.0-ce-rc1

  4. feature list: Supported commands and options are needed, such as pouch ps -a(ps is command and -a is option).

  5. test suggestion: what do you think is focus on testing?

@allencloud
Copy link
Collaborator Author

I add something to your confusion about the info about pouch. While what I added does not include: Size , Source RPM, Build Date, Build Host, Relocations. @zzchun

Version : 0.1.0
Release : 1.el7.centos
Architecture: x86_64
Install Date: (not installed)
Group : Tools/Pouch
Size :
License : Apache License 2.0
Signature : RSA/SHA512, Fri 08 Dec 2017 07:00:19 AM CST, Key ID c52feb6b621e9f35
Source RPM : Full name of RPM
Build Date : Build date
Build Host : The hostname that builded pouch
Relocations : (not relocatable)
Packager : Pouch pouch-dev@list.alibaba-inc.com
Vendor : Pouch
URL : https://github.com/alibaba/pouch
Summary : The open-source reliable application container engine
Description : Pouch is an open-source project created by Alibaba Group to promote the container technology movement.

Pouch's vision is to advance container ecosystem and promote container standards OCI(Open Container Initiative), so that container technologies become the foundation for application development in the Cloud era.

Pouch can pack, deliver and run any application. It provides applications with a lightweight runtime environment with strong isolation and minimal overhead. Pouch isolates applications from varying runtime environment, and minimizes operational workload. Pouch minimizes the effort for application developers to write Cloud-native applications, or to migrate legacy ones to a Cloud platform.

@zzchun
Copy link
Contributor

zzchun commented Jan 11, 2018

@allencloud @sunyuan3 We have put rpm package to Aliyun mirrors. Currently, pouch can be installed by pouch repository.

1.install yum-utils

sudo yum install -y yum-utils

2. set up the pouch repository

sudo yum-config-manager \
    --add-repo \
    https://mirrors.aliyun.com/pouch/linux/centos/pouch.repo

sudo yum update

3. install pouch

sudo yum install pouch 

4. start pouch

sudo systemctl start docker

5. pull an image

sudo pouch pull docker.io/library/busybox:latest

6. run a container
Verify that pouch is installed correctly by running the busybox image.

sudo pouch run docker.io/library/busybox:latest

7. uninstall pouch

sudo yum remove pouch

After running the remove command, images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers and volumes, please execute the following command:

sudo rm -rf /var/lib/pouch

@allencloud
Copy link
Collaborator Author

Thanks for your work, @zzchun
I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/log kind/feature kind/feature-request This is a feature request from community for PouchContainer
Projects
None yet
Development

No branches or pull requests

4 participants