Code Monkey home page Code Monkey logo

docker-alpine-micro's People

Contributors

ltuits avatar nimmis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-alpine-micro's Issues

syslogd stuck

congrats for your great work by providing this repo!
anyway, i try it and stuck in rsyslogd process after run the image. pls advise.

sh-3.2# pwd
 /dockertry/docker-alpine-micro/3.6
sh-3.2# docker build -t test/alpine-with-init:1.0 .
Sending build context to Docker daemon   7.68kB
Step 1/8 : FROM alpine:3.6
 ---> 7328f6f8b418
Step 2/8 : MAINTAINER nimmis <[email protected]>
 ---> Using cache
 ---> 0f07abfbf21a
Step 3/8 : COPY root/. /
 ---> Using cache
 ---> c24e1fe401b6
Step 4/8 : RUN echo "@community http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories &&     echo "@testing http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories &&     apk update && apk upgrade &&     apk add ca-certificates rsyslog logrotate runit &&     mkdir -p /etc/BUILDS/ &&     printf "Build of nimmis/alpine-micro:3.6, date: %s\n"  `date -u +"%Y-%m-%dT%H:%M:%SZ"` > /etc/BUILDS/alpine-micro &&     apk add curl &&     cd /tmp &&     curl -Ls https://github.com/nimmis/docker-utils/archive/master.tar.gz | tar xfz - &&     ./docker-utils-master/install.sh &&     rm -Rf ./docker-utils-master &&     curl -Ls https://github.com/nimmis/backup/archive/master.tar.gz | tar xfz - &&     ./backup-master/install.sh all &&     rm -Rf ./backup-master &&     apk del curl &&     sed  -i "s|\*.emerg|\#\*.emerg|" /etc/rsyslog.conf &&     rm -rf /var/cache/apk/*
 ---> Using cache
 ---> 95b5a8a9b666
Step 5/8 : VOLUME /backup
 ---> Using cache
 ---> 9f46803f6ed0
Step 6/8 : ENV HOME /root
 ---> Using cache
 ---> 4d29ac5b0b2d
Step 7/8 : WORKDIR /root
 ---> Using cache
 ---> 5ad2f43dfac0
Step 8/8 : CMD /boot.sh
 ---> Using cache
 ---> 862d5aac9f07
Successfully built 862d5aac9f07
Successfully tagged test/alpine-with-init:1.0

    sh-3.2# docker image ls
    REPOSITORY                      TAG                 IMAGE ID            CREATED             SIZE
   test/alpine-with-init           1.0                 862d5aac9f07        13 minutes ago      8.41MB
    golang                          1.8.3-alpine        310e63753884        3 weeks ago         257MB
    alpine                          3.6                 7328f6f8b418        3 weeks ago         3.97MB
    alpine                          latest              7328f6f8b418        3 weeks ago         3.97MB
    sh-3.2# docker run -it --rm test/alpine-with-init:1.0
    Run scripts in /etc/run_once
    Build of nimmis/alpine-micro:3.6, date: 2017-07-19T03:57:37Z
    Run scripts is /etc/run_always
    Started runsvdir, PID is 13
    wait for processes to start....
    crond[18]: crond (busybox 1.26.2) started, log level 8
    rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
    rsyslogd: activation of module imklog.so failed [v8.26.0 try http://www.rsyslog.com/e/2145 ]
    run: crond: (pid 18) 5s
    run: rsyslogd: (pid 17) 5s`

run_alway run_scripts

Hi,

just discovered that run_scripts which are run using "find -exec" are not performed in any sort of predictable order. Could you add | sort ?

find /etc/run_always -type f -perm +111 -print0 | | sort -z | xargs -0 -n 1 env

I just wondered if this was indeed the desired behaviour.

K.

ARM architecture

Hello,
is it possible to support ARM architectures as well (such as Raspberry PI)?
What would that entails?

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.