Giter Club home page Giter Club logo

dockerfiles's Introduction

Tianon's Dockerfiles

Build Status

This is a collection of both miscellaneous development experiments and images I rely on for various things.

dockerfiles's People

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  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  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

dockerfiles's Issues

skype: Failed to move to new namespace

I was trying

$ docker run --rm -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY="unix$DISPLAY" tianon/skype

But I get

Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

I see some advice that I should

 sudo sysctl 'kernel.unprivileged_userns_clone=1'

And other advice that I should never ever do that. In either case, doing it does not seem to change things.

I'm grateful for any advice / suggestions. I'm a docker newb. This is on debian testing, with the debian kernel 5.5.0-1

exim4: exim doesn't seem to obey retry rules

ubuntu@sentry:~/sentry$ docker exec -it sentry_onpremise_smtp_1 bash
root@3b90855b8a6e:/# exim -f "[email protected]" -brt [email protected]
Retry rule: *  *  F,2h,15m; G,16h,1h,1.5; F,4d,6h; 

Which is sane. https://www.exim.org/exim-html-current/doc/html/spec_html/ch-retry_configuration.html

Yet when e-mails are sent to @redhat.com, it retries as fast as possible (not every 15min for 2 hours as the rule states) then gives up. Note the timestamps.

 308 T: remote_smtp for [email protected]
  308 Connecting to us-smtp-inbound-1.mimecast.com [205.139.110.242]:25 ... connected
  308   SMTP<< 220 us-smtp-1.mimecast.com ESMTP; Thu, 01 Oct 2020 13:57:11 -0400

...

  308   SMTP<< 451 Internal resource temporarily unavailable - https://community.mimecast.com/docs/DOC-1369#451 [XXXXX]
  308 LOG: MAIN
  308   H=us-smtp-inbound-1.mimecast.com [205.139.110.242]: SMTP error from remote mail server after RCPT TO:<[email protected]>: 451 Internal resource temporarily unavailable - https://community.mimecast.com/docs/DOC-1369#451 [XXXXX]
  308   SMTP>> QUIT
  308   SMTP(close)>>
  308 Connecting to us-smtp-inbound-1.mimecast.com [205.139.110.221]:25 ... connected
  308   SMTP<< 220 us-smtp-1.mimecast.com ESMTP; Thu, 01 Oct 2020 13:57:11 -0400

...

  308   SMTP<< 451 Internal resource temporarily unavailable - https://community.mimecast.com/docs/DOC-1369#451 [XXXXX]
  308 LOG: MAIN
  308   H=us-smtp-inbound-1.mimecast.com [205.139.110.221]: SMTP error from remote mail server after RCPT TO:<[email protected]>: 451 Internal resource temporarily unavailable - https://community.mimecast.com/docs/DOC-1369#451 [XXXXX]
  308   SMTP>> QUIT
  308   SMTP(close)>>
  308 Connecting to us-smtp-inbound-1.mimecast.com [207.211.30.242]:25 ... connected
  308   SMTP<< 220 us-smtp-1.mimecast.com ESMTP; Thu, 01 Oct 2020 13:57:11 -0400

... etc.

(Truthfully, I don't know what information in the smtp logs could be used maliciously or deemed sensitive so I snipped a lot.)

Exim4 Implicit TLS

Is it possible to add implicit TLS support to the exim4 image?

I tried by adding the folliwing lines to the top of docker-entrypoint.sh:

echo "daemon_smtp_ports = 25 : 465 : 587" >> /etc/exim4/conf.d/main/02_exim4-config_options
echo "tls_on_connect_ports = 465" >> /etc/exim4/conf.d/main/02_exim4-config_options

Doesn't seem to work. I'm getting the following output by executing gnutls-cli --crlf 127.0.0.1:56507 --insecure:

Processed 0 CA certificate(s).
Resolving '127.0.0.1:56507'...
Connecting to '127.0.0.1:56507'...
*** Fatal error: The TLS connection was non-properly terminated.

exim4 google smtp password

I have been using this docker for several months. I have not had any problem until last Monday.
The server google gave me an authorisation error.
I have had to change the file passwd.client in /etc/exim4 to include the gmail.com domain, as follows

*.gmail.com:XXXX@XXXXX:XXXXX

tianon/true crashes on RHEL/CentOS 7

This is an odd issue we came across when upgrading to Docker 1.6 on Centos 7.1

We believe it is due to the fact the container doesn't contain a /tmp directory

# docker pull tianon/true
latest: Pulling from docker.io/tianon/true
bab6497c61bd: Pull complete 
1bf6fb5df660: Already exists 
Digest: sha256:bc3fcd78c0fbf5303bc174a4e4cbfb8f199ed3578b82e8d3076eaefb9f40b3c3
Status: Downloaded newer image for docker.io/tianon/true:latest

# docker run tianon/true
Timestamp: 2015-05-22 13:45:19.734850588 +0000 UTC
Code: System error

Message: [/usr/bin/tar -cf /var/lib/docker/tmp/51093ed13632f8bf37189cf026cd00b57907ab4d97c8be9ec659ddeb8859eff1108609975/_tmp.tar -C /var/lib/docker/devicemapper/mnt/51093ed13632f8bf37189cf026cd00b57907ab4d97c8be9ec659ddeb8859eff1/rootfs/tmp .] failed: /usr/bin/tar: /var/lib/docker/devicemapper/mnt/51093ed13632f8bf37189cf026cd00b57907ab4d97c8be9ec659ddeb8859eff1/rootfs/tmp: Cannot chdir: No such file or directory
/usr/bin/tar: Error is not recoverable: exiting now
: exit status 2

Frames:

---
0: setupRootfs
Package: github.com/docker/libcontainer
File: rootfs_linux.go@30

---
1: Init
Package: github.com/docker/libcontainer.(*linuxStandardInit)
File: standard_init_linux.go@52

---
2: StartInitialization
Package: github.com/docker/libcontainer.(*LinuxFactory)
File: factory_linux.go@223

---
3: initializer
Package: github.com/docker/docker/daemon/execdriver/native
File: init.go@35

---
4: Init
Package: github.com/docker/docker/pkg/reexec
File: reexec.go@26

---
5: main
Package: main
File: docker.go@29

---
6: main
Package: runtime
File: proc.go@63

---
7: goexit
Package: runtime
File: asm_amd64.s@2232
FATA[0001] Error response from daemon: : exit status 2
docker info
Containers: 2
Images: 15
Storage Driver: devicemapper
 Pool Name: docker-8:1-534603-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 343.1 MB
 Data Space Total: 107.4 GB
 Data Space Available: 9.191 GB
 Metadata Space Used: 1.155 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Udev Sync Supported: true
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Kernel Version: 3.10.0-229.1.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 2
Total Memory: 1.756 GiB
Name: batman-worker-001
ID: PB5G:PRFI:S7JX:4IZW:WP5H:VRKV:RHQT:ZPX4:E4AC:YDF5:Q3HA:4N36

Steam image cannot launch steam twice

I have been trying to get steam running in a docker container, based on a blog post that references this image.

I can successfully launch the store, download games, and play them, using this invocation:

docker run -v /dev/dri:/dev/dri -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/shm:/dev/shm -v /run/user/1000/pulse:/run/user/1000/pulse -v /etc/machine-id:/etc/machine-id --privileged=true -e DISPLAY=${DISPLAY} -it tianon/steam /bin/bash

Once the shell is up, I launch steam with /usr/games/steam. However, if I quit steam and launch it a second time, the application will crash when it connects to the store.

If I select "offline mode", then I can quit and relaunch steam as many times as I like. As soon as I go online, steam crashes.

tianon/steam issue "/home/steam/.local/share/Steam/steam.sh: line 102: no match: **:"

Cannot start docker container:

$ sudo docker run --name=steam -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/shm:/dev/shm -v /run/user/${UID}/pulse:/run/user/${UID}/pulse -v /etc/machine-id:/etc/machine-id -v ${HOME}/Downloads:/tmp/Downloads -e DISPLAY=${DISPLAY} tianon/steam
Unable to find image 'tianon/steam:latest' locally
Pulling repository tianon/steam
ec89ac589679: Download complete 
424fdc8461d3: Download complete 
8fc3e91c5bda: Download complete 
f3e41ffee8d1: Download complete 
6cde41126972: Download complete 
32233532a765: Download complete 
c85f289dbd65: Download complete 
5fa5276a5d31: Download complete 
26a4bba78a05: Download complete 
ed872ba301dd: Download complete 
268d402ddf20: Download complete 
7675c25a16d3: Download complete 
Status: Downloaded newer image for tianon/steam:latest
Setting up Steam content in /home/steam/.local/share/Steam
/home/steam/.local/share/Steam/steam.sh: line 102: no match: **:

Joystick on steam

Hey guys, I almost have all I need working with the steam dockerfile. But... anyone had luck (or tried) to get joystick running inside docker?

I have some xbox 360 controllers, they all are working on the host (slackware x86_64) with steamos-xpad, But can't make it work inside docker.

I am running it with privileged access. Also, I can do a cat on /dev/input/js0 inside docker and see something happening there (the same if I do it on slackware).

Thanks for the awesome dockerfile!

Speedtest Accept license

Running
docker run --rm --net=host tianon/speedtest
Gives

...
To accept the message please run speedtest interactively or use the follow:
speedtest --accept-license
...

The recommended command should be
docker run --rm --net=host tianon/speedtest --accept-license

steam: can't start container again

Hey there,

I'm currently a bit stumped. After initializing the container with

$ docker run --name=steam -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/shm:/dev/shm -v /run/user/${UID}/pulse:/run/user/${UID}/pulse -e DISPLAY=${DISPLAY} tianon/steam

and then trying to restart it after shutting Steam down via Steam > Exit, I only get a segfault:

$ docker start -a -i steam
Running Steam on steamos 1.0 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1454620878)
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
[0216/230854:ERROR:main_delegate.cc(777)] Could not load cef_extensions.pak
[0216/230854:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Installing breakpad exception handler for appid(steamwebhelper)/version(20160204122139)
Installing breakpad exception handler for appid(steamwebhelper)/version(1454588499)
[0216/230854:INFO:audio_manager_pulse.cc(257)] Failed to connect to the context.  Error: Connection refused
Installing breakpad exception handler for appid(steamwebhelper)/version(20160204122139)
Installing breakpad exception handler for appid(steamwebhelper)/version(1454620878)
Installing breakpad exception handler for appid(steamwebhelper)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
[0216/230854:ERROR:main_delegate.cc(777)] Could not load cef_extensions.pak
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
Created shared memory when not owner SteamController_Shared_mem
Installing breakpad exception handler for appid(steam)/version(1454620878)
Installing breakpad exception handler for appid(steam)/version(1454620878)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
No minidump written, nothing to upload.
/home/steam/.local/share/Steam/steam.sh: line 756:   136 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

tianon/steam troubles to initiate steam

Hi! thx for your awesome work, im getting this when i want start steam:

STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)

and after "accept licence" screen, Steam just hangs there, any clue of what happens? :D

tianon/true image is not using true-asm

Hello,

I use tianon/true image a lot.
Last time I pulled the image, his weight was 125 bytes, as the true-asm binary on your git repo, and also same weight when I compile true.asm with nasm on debian:jessie.
Today, I realize that the images wights 146 bytes, that's more than expected, and makes me thing that true-asm is not the latest.

Please fix

exec: "/bin/echo": stat /bin/echo: no such file or directory

I found the tianon/true container from docker/compose#942 - I'm trying to use it as a data-container workaround.

The first time I do docker-composer up things are fine, but subsequent ups, I get this error:

Recreating blah_data_1...
Cannot start container 4f0614f43cd4fe97e29b37bfde416edb1c38ec4cfe38a89b18838058ec3effe5: exec: "/bin/echo": stat /bin/echo: no such file or directory

Did you ever get this problem? I'm using docker-compose v1.1.0 and docker v1.5.0. (I also tried with docker-compose v1.2.0rc2 without luck)

yml file extract:

data:
   image: tianon/true
   volumes:
    - /local/file/path:/var/www/myapp

web:
  image: mycompany/myimage
  command: apache2 -D FOREGROUND
  volumes_from:
   - data

Docker build for eHour not working

Hi,

Sorry if this is not the right place to flag this, but there isn't a way to raise issues directly on Docker Hub.

I am trying to use your docker image to run eHour on my Synology NAS. After installing and mapping port 8000, I get an error page:
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable

I see that last time the docker hub image was updated was 5 months ago, but you made modifications to the dockerfile just 1 month ago. Would it be possible to update the image?

Can you also share the docker run comment you are using?

Do we need to edit the properties files to get this up and running?

If you have any documentation/information you can share, it would certainly be appreciated. But if you could simply fix the build on docker hub, that would be fine.

Thanks

Add Python3 to Steam for Proton

The relatively new Steam Play feature of Steam, which uses Proton, requires Python 3 to be installed. However, the Steam container doesn't include this. Please include Python 3 so Windows games can be played via the Docker container.

Can't launch steam image

I tried to run the steam docker image with this command: docker run -it --rm --device /dev/dri -v /tmp/.X11-unix:/tmp/.X11-unix:ro --ipc host -e DISPLAY tianon/steam bash, but i can't open steam after the installation because i got this error:

Loaded SDL version 2.0.13-6142881
sh: 1: lspci: not found
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  151
Serial number of failed request:  46
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151
Value in failed request:  0x0
Serial number of failed request:  45
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  151
Serial number of failed request:  47

I am using artixlinux with runit and a nvidia card with proprietary drivers

tianon/containerd: failed to mount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: unknown

Hi there,

I just stumbled over your tianon/containerd Docker image but am having trouble getting it to work with ctr images pull:

$ docker run -dit --rm --name containerd --user nobody --privileged --security-opt apparmor=unconfined tianon/containerd

$ docker exec -it containerd bash

nobody@d66229ea52e1:/$ ctr images pull docker.io/library/debian:latest
docker.io/library/debian:latest:                                                  resolved       |++++++++++++++++++++++++++++++++++++++| 
index-sha256:22d4552b9f96fd0ea943cb846d58b069d4df297673636055a3d984b3ccac6a28:    done           |++++++++++++++++++++++++++++++++++++++| 
manifest-sha256:5b5fa7e155b1f19dffb996ea64e55520b80d5bd7a8fdb5aed1acabd217e9ed59: done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:6c33745f49b41daad28b7b192c447938452ea4de9fe8c7cc3edf1433b1366946:    done           |++++++++++++++++++++++++++++++++++++++| 
config-sha256:6d6b00c22231693c9b87e79986d562874446bf10182206e4621e23ca8dfa8e1c:   done           |++++++++++++++++++++++++++++++++++++++| 
elapsed: 5.4 s                                                                    total:  48.1 M (8.9 MiB/s)                                       
unpacking linux/amd64 sha256:22d4552b9f96fd0ea943cb846d58b069d4df297673636055a3d984b3ccac6a28...
INFO[0005] apply failure, attempting cleanup             error="failed to extract layer sha256:f0e10b20de190c7cf4ea7ef410e7229d64facdc5d94514a13aa9b58d36fca647: failed to unmount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: failed to mount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: unknown" key="extract-208047457-S65T sha256:f0e10b20de190c7cf4ea7ef410e7229d64facdc5d94514a13aa9b58d36fca647"
ctr: failed to extract layer sha256:f0e10b20de190c7cf4ea7ef410e7229d64facdc5d94514a13aa9b58d36fca647: failed to unmount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: failed to mount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: unknown

I guess this is related to containerd running in a container. Any idea how to work around this?

Thanks,
Thilo

sed: can't read .muttrc: No such file or directory

Hi,

first of all, sorry as it may well not be an issue...

I can't get mutt-gmail to work.

After a lot of googling and tweaking, still no success / progress.

So I guess I'd ask here.

Here is what I have and what I did:
My setup:

  • linux ubuntu with docker, compose, both working normally
  • my linux host / machine username hostusername
  • my gmail account username gmailaccountuser

Here is what I did:

  • mkdir -p ~/docker-mutt/gmailaccountuser (ie. /home/hostusername/docker-mutt/gmailaccountuser)
  • cd ~/docker-mutt/
  • touch start-gmailaccountuser && chmod +x ./start-gmailaccountuser to launch mutt-gmail with my gmailaccountuser with this script
  • the script start-gmailaccountuser contains this:
#!/bin/sh

docker run -it --rm \
    -e TERM \
    -e [email protected] \
    -e GMAIL_NAME='gmailaccount user' \
    -u "$(id -u):$(id -g)" \
    -e HOME=/home/hostusername/docker-mutt/gmailaccountuser \
    -v "$HOME/.signature:/home/user/.signature" \
    -v "$HOME/.muttrc:/home/user/.muttrc.local" \
    -v "$HOME/.mutt/cache:/home/user/.mutt/cache" \
    tianon/mutt-gmail

When I'm in ~/docker-mutt/ and I run the script ./start-gmailaccountuser, I get sed: can't read /home/hostusername/docker-mutt/gmailaccountuser/.muttrc: No such file or directory.

I did touch /home/hostusername/docker-mutt/gmailaccountuser/.muttrc, rerun the script, stillt the same error.
When I run the command saved in the script directly in my terminal, I get the same error.
When I change the permissions to 644 or 755 for .muttrc, I get the same error.

Any idea how to fix it?

Any help / suggestion would be appreciated!

Thanks in advance

[latex] Pygments

I use your LaTeX image for CI (using Gitlab) on a lot of documents (esp. exercises for teaching). I use a lot of minted in these things. It's a bit sad that I have to add

apt-get update && apt-get install -y python-chardet python-pkg-resources python-pip
pip install Pygments

to all of my builds. Would you consider having Pygments installed in that image, or an extension of your image?

Handbrake Dockerfile fails because of missing GPG server pool DNS record

Hi,

Your Handbrake Dockerfile references a GPG server pool: gpg --batch --keyserver ha.pool.sks-keyservers.net. That pool isn't available anymore:

image

And the DNS record isn't there anymore:

 % nslookup pool.sks-keyservers.net
Server:		8.8.8.8
Address:	8.8.8.8#53

** server can't find pool.sks-keyservers.net: NXDOMAIN

%

As a result, the build fails in that step with a gpg: keyserver receive failed: No name.

Dockerise Javafx application

Hi Tianon,
I have built desktop application in JavaFX. I am trying to create image using docker. So I can run image file in browser. Is it possible?

If it is possible please help me, How to create docker file for JavaFX application.

Make travis client run as ENTRYPOINT

The travis-cli image currently requires you to also put the travis command into the command line when you use docker run, e.g.

$ docker run --rm tianon/travis-cli travis whoami
not logged in, please run travis login

This is due to the fact that the client is run as a CMD in the Dockerfile. It would be more natural, i.e. arguably nicer, if one could simply state the commands after the image name, e.g.

$ docker run --rm tianon/travis-cli
Usage: travis COMMAND ...

Available commands:

        accounts               displays accounts and their subscription status
        branches               displays the most recent build for each branch
        cache                  lists or deletes repository caches
        cancel                 cancels a job or build
        console                interactive shell
        disable                disables a project
        enable                 enables a project
        encrypt                encrypts values for the .travis.yml
        encrypt-file           encrypts a file and adds decryption steps to .travis.yml
        endpoint               displays or changes the API endpoint
        env                    show or modify build environment variables
        help                   helps you out when in dire need of information
        history                displays a projects build history
        init                   generates a .travis.yml and enables the project
        lint                   display warnings for a .travis.yml
        login                  authenticates against the API and stores the token
        logout                 deletes the stored API token
        logs                   streams test logs
        monitor                live monitor for what's going on
        open                   opens a build or job in the browser
        pubkey                 prints out a repository's public key
        raw                    makes an (authenticated) API call and prints out the result
        report                 generates a report useful for filing issues
        repos                  lists repositories the user has certain permissions on
        requests               lists recent requests
        restart                restarts a build or job
        settings               access repository settings
        setup                  sets up an addon or deploy target
        show                   displays a build or job
        sshkey                 checks, updates or deletes an SSH key
        status                 checks status of the latest build
        sync                   triggers a new sync with GitHub
        token                  outputs the secret API token
        version                outputs the client version
        whatsup                lists most recent builds
        whoami                 outputs the current user

run `/usr/local/bundle/bin/travis help COMMAND` for more infos
$ docker run --rm tianon/travis-cli whoami
not logged in, please run travis login

This would be possible by running the travis command as the ENTRYPOINT having the parameters being passed in as $@.

References

Set a fixed IP to the container

I have created a script like this

#!/bin/bash
ip addr flush dev eth0
ip addr add 172.17.0.10/16 dev eth0
ip ro add to default via 172.17.42.1 dev eth0

I call this script from /etc/rc.local but I find out that the IP has not been set. When I call it from command line it works. Any idea on what is going on or how to set a fixed IP?

repeatedly deleting and re-downloading Packages files?

I'm just wondering why your steam Dockerfile runs apt-get update and then runs rm -rf /var/lib/apt/lists/* multiple times?

Wouldn't it be better to do this at the start of the Dockerfile:

RUN set -eux; \
dpkg --add-architecture i386; \
apt-get update

and clean up at the end (just before the USER steam and CMD ["steam"] lines):

RUN set -eux; \
  rm -f steam.deb; \
  rm -rf /var/lib/apt/lists/*

That would avoid having to run apt-get update (and downloading all the Packages files) multiple times.

Steam container runs DotA, but no sound

I try this:
docker run -e DISPLAY=${DISPLAY} -v /dev/dri:/dev/dri -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/shm:/dev/shm -v /run/user/${UID}/pulse:/run/user/${UID}/pulse -v /etc/machine-id:/etc/machine-id -v ${HOME}/Downloads:/tmp/Downloads --privileged=true --device /dev/snd -v $HOME/.steam:/home/steam/.steam -v $HOME/.local/share/Steam:/home/steam/.local/share/Steam tianon/steam

It installs and runs Steam and from its interface is possible to install and run DotA. The video settings works, but audio settings shows no output option.

LaTeX: update Debian to stretch

Stretch is the current stable distribution, released 2017-06-17. It would be nice to have the newer LaTeX packages too.

Afaik, it would be as simple as changing debian:jessie to debian:stretch in the relevant Dockerfile.

You can also have a tianon/latex:jessie tag to point to the "old" Debian 8, for those who still need it.

Currently testing whether that statement is true. I'll report back in a min :-)

Consider more LTS version of tianon/ubuntu-devel

I really like the tianon/ubuntu-devel image. It's very useful to have a simple 'build farm'. But currently the image is based of Xenial.
It would be nice to have images for all the LTS versions like Precise (12.04) and Trusty (14.04).

Not able to run the steam container

My sh file
#!/bin/bash
sudo docker run --name=$1 -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/nvidia0:/dev/nvidia0 -v /dev/nvidiactl:/dev/nvidiactl -v /dev/nvidia-uvm:/dev/nvidia-uvm -v /dev/shm:/dev/shm -v /run/user/${UID}/pulse:/run/user/${UID}/pulse -v /etc/machine-id:/etc/machine-id -v ${HOME}/Downloads:/tmp/Downloads -e DISPLAY=${DISPLAY} tianon/steam

Console Output
./run.sh
Setting up Steam content in /home/steam/.local/share/Steam
/home/steam/.local/share/Steam/steam.sh: line 99: no match: **:
Running Steam on steamos 2.0 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

The container doesnot to exit or do anything

Set WORKDIR for docker

The default workdir is /. This makes it quite inconvenient to run a build with docker container run --rm

docker container run -v $(pwd):/workdir --rm tianon/latex:latest xelatex index.tex

Please set WORKDIR in the Dockerfile.

More explanation about how to get exim4 working with a php container ?

Hello,
I was wondering if it could be possible to add more explanation with a given example of how to get the exim4 container working with a php container ?
Because from your README i dont really see how to configure my php container to tell him to use exim4 to send mails :/

(I'm pretty new to the docker world and i'm using a docker-compose.yml to get all my containers working)

"true" image sometimes fails with weird behavior

Having some weird behavior with using this image for volumes. I've tried specifying /true or true for CMD as well as leaving it blank (below). It seems to be random whether it will fail or succeed to run.

○ sudo docker run tianon/true
○ sudo docker ps -a
CONTAINER ID        IMAGE                COMMAND             CREATED             STATUS                     PORTS               NAMES
04c8041160ef        tianon/true:latest   /true               6 seconds ago       Exited (0) 5 seconds ago                       backstabbing_torvalds   
○ sudo docker run tianon/true
2014/04/17 00:51:17 Error: symlink /proc/mounts /var/lib/docker/aufs/mnt/ebd3acaebd1b44d88505173eaabdbf9cb11ef98e5a57703289abf83edd5b51d8-init/etc/mtab: no such file or directory
○ sudo docker rm -f backstabbing_torvalds
backstabbing_torvalds
○ sudo docker run tianon/true
2014/04/17 00:54:32 Error: symlink /proc/mounts /var/lib/docker/aufs/mnt/d839bd55781e5a64fd81bf720a94cb1b014227da721cdf7f33a4afed9e0c8272-init/etc/mtab: no such file or directory

dind: Error downloading dependent layers

Almost certainly not your fault, but you'll have a better idea where to chase this than I have:

user@host:~/8555808$ docker run -rm -t -i -privileged tianon/dind /bin/bash
root@600da7d3a960:/# docker -d -H=unix:///var/run/docker.sock 1>/var/log/docker.log 2>/var/log/docker.err &
docker pull stackbrew/ubuntu
Pulling repository stackbrew/ubuntu
ddc094db4e2b: Error pulling image (quantal) from stackbrew/ubuntu, Driver aufs failed to get image rootfs 0ce1be72797840e8c3f68d19955ca6f51edb3f59df3f8699f8dadf20b9a2630b: invalid argument b3f59df3f3aa646e4f1d2: Error pulling image (precise) from stackbrew/ubuntu, Driver aufs failed to get image rootfs b74728ce6435943c0ace1a90649f136c904b1c412f556a95bb1b812457aabd76: invalid argument b1c412f556a95bb1b812457aabd76: invalid argument 7a27bedf4cd5a456fc345cf4c0c622d: invalid argument 27bedf4cd5a456fc345cf4c0c622d: invalid argument ent layers 
46e4dee27895: Error downloading dependent layers 
0ce1be727978: Error downloading dependent layers 
b74728ce6435: Error downloading dependent layers 
2014/01/22 09:39:46 Could not find repository on any of the indexed registries.
root@600da7d3a960:/# 

I'm seeing this under Ubuntu as installed by the Docker project's Vagrantfile, and also on a 12.04 box under VMware upgraded to the same 3.8.0-35-generic kernel. More detail in 8555808.

syncthing having trouble auto-upgrading

I am seeing following error message generated from the syncthing container.

21:35:36: Automatic upgrade: open /usr/local/bin/syncthing621167713: permission denied

I think this is expected, because syncthing is running under "user" user. Is there any problem with running as root inside the container?

exim4 docker image

Hey, I'm getting the following error while using your docker image. I've talked to a couple people using the image and they're all getting the same error. Is there anything we can do? Our setup was working before your last change.

Connecting to aspmx.l.google.com [172.217.218.27]:25 ... failed: Connection timed out (timeout=5m)
mail_1 | 273 LOG: MAIN
mail_1 | 273 H=aspmx.l.google.com [172.217.218.27] Connection timed out
mail_1 | 273 Connecting to alt1.aspmx.l.google.com [2a00:1450:4010:c03::1b]:25 ... failed: Cannot assign requested address
mail_1 | 273 LOG: MAIN
mail_1 | 273 H=alt1.aspmx.l.google.com [2a00:1450:4010:c03::1b] Cannot assign requested address
mail_1 | 273 Connecting to alt2.aspmx.l.google.com [2404:6800:4003:c06::1b]:25 ... failed: Cannot assign requested address
mail_1 | 273 LOG: MAIN
mail_1 | 273 H=alt2.aspmx.l.google.com [2404:6800:4003:c06::1b] Cannot assign requested address
mail_1 | 273 Connecting to alt1.aspmx.l.google.com [209.85.233.26]:25 ... failed: Connection timed out (timeout=5m)
mail_1 | 273 LOG: MAIN
mail_1 | 273 H=alt1.aspmx.l.google.com [209.85.233.26] Connection timed out
mail_1 | 273 Connecting to aspmx3.googlemail.com [2404:6800:4003:c06::1a]:25 ... failed: Cannot assign requested address
mail_1 | 273 LOG: MAIN
mail_1 | 273 H=aspmx3.googlemail.com [2404:6800:4003:c06::1a] Cannot assign requested address
mail_1 | 272 LOG: MAIN
mail_1 | 272 == (my email) R=dnslookup T=remote_smtp defer (99): Cannot assign requested address

No audio in steam

Hi, i'm trying the steam docker in a arch linux machine, but i can't listen the audio in the games.

i'm using the next line to start the container.

$ sudo docker run --name=steam -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/shm:/dev/shm -v /run/user/${UID}/pulse:/run/user/${UID}/pulse -v /etc/machine-id:/etc/machine-id -v ${HOME}/Downloads:/tmp/Downloads -e DISPLAY=${DISPLAY} tianon/steam

exist any form to fix this?

Regards.

Add unzip to diffoscope

The diffoscope docker image is missing the unzip package. Without unzip zip archives are compared using binary comparison which reveals no insights on the actual differences

ehour image does not work

Hello,
I tried to use the ehour docker image following the instalation guide provided here :
https://github.com/tianon/dockerfiles/tree/master/ehour

We end with the following error message:
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:

Looking at the logs, I an find the following:
04-23@07:41:05 INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

Can we get that fixed ?

thanks,

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.