vimagick / dockerfiles Goto Github PK
View Code? Open in Web Editor NEW:whale: A curated list of delicious docker recipes ๐บ๐ฆ๐ฎ๐ฑ (Let's Fight Against ************)
Home Page: https://hub.docker.com/u/vimagick/
:whale: A curated list of delicious docker recipes ๐บ๐ฆ๐ฎ๐ฑ (Let's Fight Against ************)
Home Page: https://hub.docker.com/u/vimagick/
core@coreos ~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2c4d89ac118a vimagick/shadowsocks-libev "/bin/sh -c 'ss-serve" 4 hours ago Up 4 hours 8388/udp, 0.0.0.0:8388->8388/tcp shadowsocks_shadowsocks_1
core@coreos ~ $ docker attach
docker: "attach" requires 1 argument.
See 'docker attach --help'.
Usage: docker attach [OPTIONS] CONTAINER
Attach to a running container
core@coreos ~ $ docker attach 2c
2016-03-26 14:02:17 ERROR: authentication error from 1**.1**.2**.223
2016-03-26 14:02:47 ERROR: invalid header with addr type 68
2016-03-26 14:02:47 ERROR: failed to handshake with 1**.1**.2**.223
2016-03-26 14:02:54 ERROR: invalid header with addr type -126
2016-03-26 14:02:54 ERROR: failed to handshake with 1**.1**.2**.223
Hello,
I run the vimagick/mantisbt container with a linked MySQL container (as described in the README). The server is seemingly running fine when accessed via a browser (creating project and issue is OK). However, most of the SOAP API functions are failing with a Server fault showing:
'Error Type: SYSTEM NOTICE, Error Description: Array to string conversion'
When running the same MantisBT server on a plain VM (Ubuntu 14.04) with identical PHP version SOAP API calls are working fine.
I am using MantisBT 1.2.19 with PHP 5.6.20.
Output of php --version from container:
PHP 5.6.20 (cli) (built: Apr 5 2016 01:26:25)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Output of php --version from comparative VM:
PHP 5.6.20-1+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Hi,
if I use ur docker-run command then I get a warning that the cache-folder is not writeable:
WARNING: Writing cache to '/.cache/youtube-dl/youtube-sigfuncs/js_vfl4Xq3l4_43.40.json' failed: Traceback (most recent call last):
I use this alias:
alias youtube-dl='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data vimagick/youtube-dl --cache-dir /tmp'
Unable to upload files larger than 1MB in size.
I have made the changes noted here, including the nginx changes and cannot upload files larger that 1MB.
I've been using tinc-arm
and it works great. I tried a re-install today and noticed it seems to be gone from Docker Hub.
Is this intentional? If not, any chance it could be re-uploaded?
I followed the instructions here now I can do the following on my server:
curl -x socks5h://username:[email protected]:1080 https://www.youtube.com
but I can't do it from my computer:
curl -x socks5h://username:password@SERVERIP:1080 https://www.youtube.com
what am I missing ?
I'm sorry for this newbie question, but I need to alter the moderation behavior and right now what I do is to copy files out and then copy them in with the modifications (so annoying). Tried to use vim or even nano inside the container, but they are no available and mediagoblin user is not a super user. I also tried to create a volume and share the core code with the outside world, but the container breaks before mounting.
it would be really good if there would be a simple way to restart the scrapyd
service after the configuration file scrapyd.conf
is changed, or even in any circumstance without killing the current running scrapy jobs.
When installed in debian
or ubuntu
with apt-get
you can normally use it a service with service scrapyd restart
, which is very handy in these situations.
Could you please share how would you restart this on your docker configuration? I would really appreciate it.
Currently I am stopping the docker instance and starting (up
) it again, which kills the current jobs :(
From the build details, e.g. this one, it says,
[91mERROR: unsatisfiable constraints:
๏ฟฝ[0m
openconnect (missing):
required by: world[openconnect]
Do they remove openconnect from alpine apk? Can you take a look?
Hi,
I built a scrapyd image based on yours a couple of months ago and it served me well. I now want to rebuild that image, but when I start a container as docker run -p 6800:6800 vimagick/scrapyd
I don't get a response when I go to localhost:6800
. Should I run the container differently? By the way, I am not running it with docker-compose
, I'll run it on kubernetes.
Thanks a lot!
dockerfiles/scrapyd/py3/docker-compose.yml
- /usr/local/lib/python2.7/dist-packages
Shouldn't this refer to python 3.x ?
Now in alpine distr need include separate npm install.
Like this:
apk add --update nodejs nodejs-npm
Hi, after docker-compose I cannot configure Mantis as I got this error:
BAD
Does administrative user have access to the database? ( Server sent charset unknown to the client. Please, report to the developers )
Freeradius container could not start correctly:
Error: Unable to check file "/etc/raddb/mods-config/files/authorize": Permission denied
Dir permission showed as blow:
> docker exec -it itradius_freeradius_1 ls -l /etc/raddb
total 148
-rw-r----- 1 root 124 20808 Apr 21 08:28 README.rst
drwxr-x--- 2 root radius 4096 May 31 15:03 certs
-rw-r----- 1 root 124 7476 Apr 21 08:28 clients.conf
-rw-r----- 1 root 124 1440 Apr 21 08:28 dictionary
-rw-r----- 1 root 124 2661 Apr 21 08:28 experimental.conf
lrwxrwxrwx 1 root 124 30 May 31 15:01 hints -> ./mods-config/preprocess/hints
lrwxrwxrwx 1 root 124 35 May 31 15:01 huntgroups -> ./mods-config/preprocess/huntgroups
drwxr-xr-x 2 root root 4096 May 31 15:03 mods-available
drwxr-xr-x 8 root root 4096 May 31 15:01 mods-config
drwxr-x--- 2 root 124 4096 May 31 15:03 mods-enabled
-rw-r----- 1 root 124 52 Apr 21 08:28 panic.gdb
drwxr-x--- 2 root 124 4096 May 31 15:01 policy.d
-rw-r----- 1 root 124 28361 Apr 21 08:28 proxy.conf
-rw-r----- 1 root 124 28969 Apr 21 08:28 radiusd.conf
drwxr-xr-x 2 root root 4096 May 31 15:01 sites-available
drwxr-x--- 2 root 124 4096 May 31 15:03 sites-enabled
-rw-r----- 1 root 124 3470 Apr 21 08:28 templates.conf
-rw-r----- 1 root 124 8536 Apr 21 08:28 trigger.conf
lrwxrwxrwx 1 root 124 29 May 31 15:01 users -> ./mods-config/files/authorize
I change owner to root:radius for /etc/raddb to fix the problem.
hi, your dockerfile is awesome, really long lists and still active updating
How did you maintain this ( especially for raspberry pi )? If you use CI like drone or travis-ci , but haven't found yml
file?
Is there any way to persist data between container restarts ?
Such as VPN_PSK environment variable support, please let me know. Thanks!
Getting this error:
`An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. The most common errors are an unclosed quote or a missing semicolon in a configuration item that has been entered (e.g. location, username, or password).
Depending on your PHP configuration, navigating directly to config.php in your web browser may display the PHP error message.
If find that this is not the case, or have no idea what this error message means, please raise the issue at http://sourceforge.net/p/phpvirtualbox/discussion/help/`
And my run command is:
docker run --name phpvirtualbox --restart=unless-stopped -p 7000:80 -e VB1_PORT_18083_TCP=192.168.1.200:18083 -e VB1_NAME=MyServerName -e VB1_USER=vbox -e VB1_PW="myPassword" -e CONF_browserRestrictFolders="/media/virtservices/docker-data/virtualbox/iso" -d vimagick/phpvirtualbox
Looking at config.php seems that it's plain default.
~/pptpd# docker-compose up
Creating pptpd_pptpd_1
Attaching to pptpd_pptpd_1
pptpd_1 | + iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
pptpd_1 | + pptpd
pptpd_pptpd_1 exited with code 1
Email notifications won't work. Installed sendmail is needed.
Why adding a "./" at the end of home user dir ?
I set the home like this :
pure-pw useradd myuser -u ftpuser -d /home/ftpuser/myuser -t 1024 -T 1024 -y 1 -m
And when i list my user i've got that :
myuser /home/ftpuser/myuser/./
And logs in FileZilla :
421 Home directory not available - aborting
services:
server:
image: vimagick/shadowsocks-libev
ports:
- "8388:8388"
environment:
- "PASSWORD=SECRET"
restart: always
Error loading shared library libcrypto.so.1.0.0: No such file or directory (needed by /usr/local/bin/ss-server)
Error relocating /usr/local/bin/ss-server: EVP_BytesToKey: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_sha1: symbol not found
Error relocating /usr/local/bin/ss-server: RAND_bytes: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CIPHER_CTX_init: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CIPHER_iv_length: symbol not found
Error relocating /usr/local/bin/ss-server: OPENSSL_add_all_algorithms_noconf: symbol not found
Error relocating /usr/local/bin/ss-server: HMAC: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CIPHER_CTX_set_padding: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_get_digestbyname: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_get_cipherbyname: symbol not found
Error relocating /usr/local/bin/ss-server: MD5: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CIPHER_key_length: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CIPHER_CTX_set_key_length: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CipherInit_ex: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CIPHER_CTX_cleanup: symbol not found
Error relocating /usr/local/bin/ss-server: EVP_CipherUpdate: symbol not found
Hi there, great to find your docker images! ๐
I'm trying to use it for OpenCart but I have this error.
I'm running docker on a OS X with dinghy, without proxy seems to work pretty well.
I tried to put different Hostnames including the docker-machine ip but had no luck.
Do you think might be a different ip for the hostname or should I try with ubuntu?
Moreover, how can I initialize the db with a sql dump file?
Thanks
I'm trying to understand some details about the OpenRefine dockerfile:
FROM java:8-jre-alpine
MAINTAINER kev <[email protected]>
ENV OR_VERSION 2.8
ENV OR_FILE openrefine-linux-${OR_VERSION}.tar.gz
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OR_VERSION}/${OR_FILE}
WORKDIR /app
RUN set -xe \
&& apk add --no-cache bash curl jq tar \
&& curl -sSL ${OR_URL} | tar xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]
java:8-jre-alpine
isntead of openjdk:8-jre-alpine
? the java docker hub page saysThis image is officially deprecated in favor of the openjdk image, and will receive no further updates after 2016-12-31 (Dec 31, 2016). Please adjust your usage accordingly.
jq
with apk add
? You don't seem to use it elsewhere./data
folder with VOLUME
instead of RUN mkdir /data
? Docker's staff say this:When not naming your volume you generally mean: I don't "care" about its data, it's ok to remove after the container is removed.
So; if you want to stick with the data; use --volume :/path/in/container
Using VOLUME
in a Dockerfile makes Docker run
create an unnamed volume for each container created from the base image. My problem with this are that:
Docker run
also stays permanently unless your remember that you should use the --rm
option.--volume-from
has been deprecated in Docker compose 3.0+ in favor of named volumesI think a workflow where the Docker volume mapped to the /data
folder within the container is defined at runtime by the user is better. If the user forgets to map an external volume to the container, it's ok because openrefine has access to the host's filesystem, which makes it easy to save the data outside of the container.
Thanks!
VPN_DOMAIN=vpn.easypi.info
?docker-compose logs -f
, it seems it never stop itself. While I press ctrl+c
, it says ERROR: Aborting.
Is that alright?.p12
certificate to my mobile, it requires a password. Where can I find it?docker-compose.yml
.Thanks!
Have you considered rebuilding this scrapyd image with Python3?
only audio
does this ffserver image need to install some video decod lib
<Feed feedvod.ffm>
File /tmp/feedvod.ffm
</Feed>
<Stream feedvod.flv>
Feed feedvod.ffm
Format flv
AudioBitRate 32
AudioChannels 1
AudioSampleRate 44100
VideoBitRate 64
VideoBufferSize 40
VideoFrameRate 3
VideoSize 1024x768
VideoGopSize 12
</Stream>
Hello,
I'm rather new to docker, haven't picked up docker compose yet. I'd prefer to run the strongswan image with a docker run
command. Can you please guide me how to translate this docker-compose.yml
to a docker run
command?
version: '2'
services:
strongswan:
image: vimagick/strongswan
ports:
- 500:500/udp
- 4500:4500/udp
volumes:
- /lib/modules:/lib/modules
- /etc/localtime:/etc/localtime
environment:
- VPN_DOMAIN=vpn.easypi.info
- VPN_NETWORK=10.20.30.0/24
- LAN_NETWORK=192.168.0.0/16
- VPN_P12_PASSWORD=secret
tmpfs: /run
privileged: yes
restart: always
When I using your dante docker image (https://hub.docker.com/r/vimagick/dante/) I need to configure my user and password when I already started docker container.
Now I am using next combination:
run.sh:
docker-compose up -d && docker exec -it socks5_dante_1 bash -c "useradd myuser; echo myuser:mypassword | chpasswd"
But it'll be much better to create enviroment variable in docker image to provide user and password for proxy to configure it in docker-compose file to run image with one command than two.
ๅธ !
I see your dockerfile of ShadowVPN, you only expose the UDP port๏ผwhy do you only expose the UDP port?
I want to set up ShadowVPN relay, but i don't have any solution,if i only use iptables to forward the TCP/UDP port, i worry about bad performance .
Hi there,
I'm trying to setup freeradius as the authentication server for my router but it's not working.
I customized your docker image to replace the DB host and password
I've also customized your docker-compose to put freeradius into its own network
version: '2'
services:
freeradius:
image: vimagick/freeradius
ports:
- "1812:1812/udp"
- "1813:1813/udp"
restart: always
networks:
freeradius:
ipv4_address: 172.30.0.100
mysql:
image: mysql
volumes:
- /var/freeradius/mysql:/docker-entrypoint-initdb.d
environment:
- MYSQL_ROOT_PASSWORD=root
restart: always
networks:
freeradius:
ipv4_address: 172.30.0.101
networks:
freeradius:
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/24
I ran through the checks for the DB and ensured my data matches. When I try and connect from a client using the connection info i see this on the radius server:
freeradius_1 | Fri Dec 16 18:39:12 2016 : Info: rlm_sql (sql): Opening additional connection (8), 1 of 32 pending slots used
freeradius_1 | Fri Dec 16 18:39:12 2016 : Info: rlm_sql (sql): Need 2 more connections to reach 10 spares
And on the router logs i get
Dec 16 18:49:45 ubnt pptpd[28570]: CTRL: CTRL read failed
Dec 16 18:49:45 ubnt pptpd[28570]: CTRL: couldn't read packet header (exit)
Dec 16 18:49:45 ubnt pptpd[28570]: CTRL: EOF or bad error reading ctrl packet length.
Dec 16 18:49:45 ubnt pppd[28571]: Connection terminated: no multilink.
Dec 16 18:49:45 ubnt pppd[28571]: Peer user failed CHAP authentication
Dec 16 18:49:45 ubnt pppd[28571]: rc_check_reply: received invalid reply digest from RADIUS server
Dec 16 18:49:44 ubnt pppd[28571]: Connect: ppp0 <--> /dev/pts/0
As you might have noticed i'm pretty clueless when it comes to radius!!
Hi,
I'm trying to add this config into the Dockerfile:
# Generated by iptables-save v1.4.21 on Wed Jan 24 08:50:53 2018
*nat
:PREROUTING ACCEPT [5928521:551144986]
:INPUT ACCEPT [1968289:69058020]
:OUTPUT ACCEPT [62201:4717222]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE
-A POSTROUTING -s 192.168.68.0/24 -o ppp+ -j MASQUERADE
COMMIT
# Completed on Wed Jan 24 08:50:53 2018
# Generated by iptables-save v1.4.21 on Wed Jan 24 08:50:53 2018
*filter
:INPUT DROP [1892:227059]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [13433:714109]
:fail2ban-ssh - [0:0]
:localservices - [0:0]
-A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh
-A INPUT -p gre -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -m state --state NEW -j localservices
-A FORWARD -i ppp+ -o ppp+ -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.68.0/24 -i ppp+ -o ppp+ -m state --state NEW -j ACCEPT
-A FORWARD -i ppp+ -o ppp+ -j REJECT --reject-with icmp-admin-prohibited
-A fail2ban-ssh -j RETURN
-A localservices -i lo -j ACCEPT
-A localservices -p tcp -m tcp --dport 22 -j ACCEPT
-A localservices -p tcp -m tcp --dport 3306 -j ACCEPT
-A localservices -p tcp -m tcp --dport 80 -j ACCEPT
-A localservices -p tcp -m tcp --dport 443 -j ACCEPT
-A localservices -p tcp -m multiport --dports 20,21 -j ACCEPT
-A localservices -p tcp -m tcp --dport 1723 -j ACCEPT
-A localservices -p icmp -j ACCEPT
COMMIT
# Completed on Wed Jan 24 08:50:53 2018
I saw I need to add in the host machine:
modprobe nf_conntrack_pptp nf_nat_pptp
This is the Dockerfile:
FROM debian:jessie
MAINTAINER kev<[email protected]>
RUN apt-get update \
&& apt-get install -y iptables pptpd git \
&& rm -rf /var/lib/apt/lists/*
# PPTPD Server config
COPY pptpd.conf /etc/
COPY chap-secrets /etc/ppp/
COPY pptpd-options /etc/ppp/
EXPOSE 1723
# Iptables config
COPY iptables /tmp/
RUN iptables-restore < /tmp/iptables
CMD pptpd --fg
And the error:
---> Running in 23c0c08a2eca
Removing intermediate container 23c0c08a2eca
---> 5f9cd9fd1cef
Step 8/10 : COPY iptables /tmp/
---> bb67b84ba366
Step 9/10 : RUN iptables-restore < /tmp/iptables
---> Running in 497fdd387b0b
iptables-restore v1.4.21: iptables-restore: unable to initialize table 'nat'
Error occurred at line: 2
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
ERROR: Service 'pptpd' failed to build: The command '/bin/sh -c iptables-restore < /tmp/iptables' returned a non-zero code: 2
โ bee-docker (master) โ modprobe nf_conntrack_pptp nf_nat_pptp
zsh: command not found: modprobe
I'm in OSx and this command doesn't work. How I can solve that?
Thanks
My docker-compose.yml
:
version: '3'
services:
aria2:
image: vimagick/aria2
container_name: aria2
ports:
- "6800:6800"
environment:
- "TOKEN=9bfff50c-xxxx-xxxx-xxxx-xxxxxxxxxa99"
volumes:
- "./aria2/data:/home/aria2"
- "./aria2/keys:/etc/aria2/keys"
- "./aria2/aria2.conf:/etc/aria2/aria2.conf"
ariang:
build: ariang
container_name: ariang
expose:
- 80
environment:
- "VIRTUAL_HOST=xxxx.birkhoff.me"
links:
- "aria2"
networks:
default:
external:
name: aria2
aria2.conf
:
dir=/home/aria2
disable-ipv6=true
enable-rpc=true
max-download-limit=0
max-upload-limit=0
rpc-allow-origin-all=true
rpc-certificate=/etc/aria2/keys/server.crt
rpc-listen-all=true
rpc-listen-port=6800
rpc-private-key=/etc/aria2/keys/server.key
rpc-secret=9bfff50c-xxxx-xxxx-xxxx-xxxxxxxxxa99
seed-ratio=0
seed-time=0
docker-compose up -d
:
aria2 | + chown -R aria2:aria2 /home/aria2
aria2 | + gosu aria2 aria2c --conf-path=/etc/aria2/aria2.conf --rpc-secret=00000000-0000-0000-0000-000000000000
aria2 |
aria2 | 10/20 02:16:29 [NOTICE] RPC transport will be encrypted.
aria2 |
aria2 | 10/20 02:16:29 [NOTICE] IPv4 RPC: listening on TCP port 6800
Notice that it still remains on 00000000-0000-0000-0000-000000000000
instead of 9bfff50c-xxxx-xxxx-xxxx-xxxxxxxxxa99
that I assigned manually. Thoughts?
# command
docker run -d -p 8125:8125/udp -p 8126:8126/tcp vimagick/statsd
# output
util.js:971
throw new TypeError('The super constructor to "inherits" must not ' +
^
TypeError: The super constructor to "inherits" must not be null or undefined
at Object.inherits (util.js:971:11)
at Object.<anonymous> (/app/lib/config.js:33:6)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/stats.js:4:14)
mysql_1 | Initializing database
mysql_1 | 2017-12-12T14:42:50.943656Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql_1 | 2017-12-12T14:42:50.955288Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12
mysql_1 | 2017-12-12T14:42:50.955500Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
mysql_1 | 2017-12-12T14:42:50.955585Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
mysql_1 | 2017-12-12T14:42:50.955704Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
mysql_1 | 2017-12-12T14:42:50.955744Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mysql_1 | 2017-12-12T14:42:50.955818Z 0 [ERROR] Failed to initialize plugins.
mysql_1 | 2017-12-12T14:42:50.955880Z 0 [ERROR] Aborting
command:
docker run vimagick/opencart
ERROR:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
I Clone the docker directory on my fedora.
Directory Tree like you readme.
[root@localhost temp]# tree
.
โโโ docker-compose.yml
โโโ Dockerfile
โโโ ftp
โ โโโ README
โโโ pam.d
โ โโโ vsftpd
โโโ README.md
โโโ vsftpd
โโโ passwd
โโโ vsftpd.conf
โโโ vsftpd.pem
Country Name (2 letter code) [XX]:cn
State or Province Name (full name) []:henan
Locality Name (eg, city) [Default City]:zhengzhou
Organization Name (eg, company) [Default Company Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:jack
Email Address []:[email protected]
[root@localhost temp]# echo "tom:$(openssl passwd -1 uzia9Tu6)" >> vsftpd/passwd
[root@localhost temp]# echo "ftp's home" > ./ftp/README
[root@localhost temp]# docker-compose up -d
Creating temp_vsftpd_1...
temp_vsftpd_1 vsftpd /etc/vsftpd/vsftpd.conf Up
[root@localhost temp]#
i can't use ftp client.
[root@localhost temp]# ftp 192.168.1.237
ftp: connect: Connection refused
[root@localhost temp]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 08:00:27:ac:ff:bf brd ff:ff:ff:ff:ff:ff
inet 192.168.1.237/24 brd 192.168.1.255 scope global dynamic enp0s3
valid_lft 39329sec preferred_lft 39329sec
inet6 fd8c:aa58:5af2::51b/128 scope global
valid_lft forever preferred_lft forever
inet6 fd8c:aa58:5af2:0:d442:4d2a:95a2:f0b8/64 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::67f3:84a:8035:3caa/64 scope link
valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:55:bc:54:45 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::42:55ff:febc:5445/64 scope link
valid_lft forever preferred_lft forever
[root@localhost temp]#
[root@localhost ~]# docker version
Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-44.git584d391.fc27.x86_64
Go version: go1.9.1
Git commit: caba767-unsupported
Built: Thu Nov 23 21:17:26 2017
OS/Arch: linux/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-44.git584d391.fc27.x86_64
Go version: go1.9.1
Git commit: caba767-unsupported
Built: Thu Nov 23 21:17:26 2017
OS/Arch: linux/amd64
Experimental: false
[root@localhost ~]# docker-compose --version
docker-compose version: 1.3.1
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
For some videos PhantomJs is required, any change of adding this to this repo?
ERROR: PhantomJS executable not found in PATH, download it from http://phantomjs.org
Hi Vimagick,
First of all, awesome project!
Could you contribute your docker files and documents of shadowsocks-libev to the upstream? We'd like to update them here: https://github.com/shadowsocks/shadowsocks-libev/tree/master/docker.
Thanks,
Max
Starting the DokuWiki container currently fails with /bin/sh: php-fpm: not found
. It appears that the binary is now php-fpm5.
Hi, you made a nice collection of Dockerfiles there!
I'm getting this when starting tor:
[warn] You are running Tor as root. You don't need to, and you probably shouldn't.
Why is it not running as a user?
Chris
I have put 2 files in ~/fig/shadowvpn/ as example:
~/fig/shadowvpn/
โโโ docker-compose.yml
โโโ server.conf
And when I run docker-compose up -d
, got this error:
Pulling shadowvpn (vimagick/shadowvpn:latest)...
latest: Pulling from vimagick/shadowvpn
d6ead20d5571: Pull complete
c56dc909340f: Pull complete
8cce9a23b88b: Pull complete
5c916c5fe31d: Pull complete
3bfec32a6dc1: Pull complete
Digest: sha256:ddafcb4546f2f7fc8125cb8e3639259fbe8d4c43520aab04b84f9ed0274ddeda
Status: Downloaded newer image for vimagick/shadowvpn:latest
Creating shadowvpn_shadowvpn_1
ERROR: Cannot start container 15fa4ca5f74ef677529ce9b73140c21f0ff7fd85a1e955559402e040cb8a3a50: [8] System error: not a directory
It would be helpful to add a note to dokuwiki/README.md that some DokuWiki plugins may require installing additional PHP packages in order to work properly.
Specifically, when attempting to use plugin:oauth, I was getting the following errors in my /var/log/nginx/error.log:
[error] 56#56: *148 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function OAuth\OAuth2\Service\json_decode() in /var/www/html/lib/plugins/oauth/phpoauthlib/src/OAuth/OAuth2/Service/Generic.php on line 80" while reading response header from upstream.
In this case, the solution was install the Alpine package php5-json, either by updating the apk add
command in Dockerfile or by adding a custom command to docker-compose.yml, e.g.
command: apk add --no-cache php5-json && php-fpm5 && nginx -g 'daemon off;'
.
See also: cosmocode/dokuwiki-plugin-oauth#60
Can You help me merge openvpn client with sockd server?
Ideally I need pass .ovpn conf with credentials and config to container and setup local port for socks server
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.