Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Flickr upload

Featured Replies

Flickr has now 1TB of free storage available for photos and videos. It could be used as a secondary location. Has anyone gone this path?

 

 

I guess the docker can be made to run and check if new files have been added and than sync it to Flickr cloud.

 

 

http://xmodulo.com/how-to-upload-photos-to-flickr-on-linux.html

https://code.google.com/p/folders2flickr/

http://lifehacker.com/262311/automatically-upload-a-folders-photos-to-flickr

http://imguploadr.sourceforge.net/

http://blog.altlimit.com/2013/05/backupsync-your-photos-to-flickr-script.html

https://github.com/richq/folders2flickr

https://github.com/vanatteveldt/frogr/

  • 2 weeks later...
  • Author

I'm creating docker for folders2flicker and would need a little help.

 

Don't know why .uploadr.ini isn't moved to volume /folders2flickr. Would like to move it so that is possible to edit it without connecting to docker.

 

Here is my dockerfile:

 

# set base os
FROM phusion/baseimage:0.9.16


# Set correct environment variables
ENV DEBIAN_FRONTEND=noninteractive HOME="/root" TERM=xterm LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8


# Use baseimage-docker's init system
CMD ["/sbin/my_init"]


# set volume
VOLUME /photos
VOLUME /folders2flickr


# Set the locale
RUN locale-gen en_US.UTF-8 && \


# Fix a Debianism of the nobody's uid being 65534
usermod -u 99 nobody && \
usermod -g 100 nobody && \


# Install python


apt-get update && \
sudo apt-get -y --force-yes install python-pip python-dev build-essential && \
sudo pip install --upgrade pip && \
sudo pip install --upgrade virtualenv && \
sudo apt-get -y --force-yes install git && \


# Install folders2flickr


pip install --user git+https://github.com/richq/folders2flickr.git && \
cp ~/.local/share/folders2flickr/uploadr.ini.sample ~/.uploadr.ini && \


#set start file
mv /root/.local/bin/folders2flickr /etc/my_init.d/folders2flickr && \
chmod +x /etc/my_init.d/folders2flickr && \


# Move conf to external volume


mv /root/.uploadr.ini /folders2flickr/ && \
ln -s /folders2flickr/.uploadr.ini /root && \


# clean up
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
/usr/share/man /usr/share/groff /usr/share/info \
/usr/share/lintian /usr/share/linda /var/cache/man && \
(( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
(( find /usr/share/doc -empty|xargs rmdir || true ))

I'm creating docker for folders2flicker and would need a little help.

 

Don't know why .uploadr.ini isn't moved to volume /folders2flickr. Would like to move it so that is possible to edit it without connecting to docker.

 

Here is my dockerfile:

 

# set base os
FROM phusion/baseimage:0.9.16


# Set correct environment variables
ENV DEBIAN_FRONTEND=noninteractive HOME="/root" TERM=xterm LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8


# Use baseimage-docker's init system
CMD ["/sbin/my_init"]


# set volume
VOLUME /photos
VOLUME /folders2flickr


# Set the locale
RUN locale-gen en_US.UTF-8 && \


# Fix a Debianism of the nobody's uid being 65534
usermod -u 99 nobody && \
usermod -g 100 nobody && \


# Install python


apt-get update && \
sudo apt-get -y --force-yes install python-pip python-dev build-essential && \
sudo pip install --upgrade pip && \
sudo pip install --upgrade virtualenv && \
sudo apt-get -y --force-yes install git && \


# Install folders2flickr


pip install --user git+https://github.com/richq/folders2flickr.git && \
cp ~/.local/share/folders2flickr/uploadr.ini.sample ~/.uploadr.ini && \


#set start file
mv /root/.local/bin/folders2flickr /etc/my_init.d/folders2flickr && \
chmod +x /etc/my_init.d/folders2flickr && \


# Move conf to external volume


mv /root/.uploadr.ini /folders2flickr/ && \
ln -s /folders2flickr/.uploadr.ini /root && \


# clean up
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
/usr/share/man /usr/share/groff /usr/share/info \
/usr/share/lintian /usr/share/linda /var/cache/man && \
(( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
(( find /usr/share/doc -empty|xargs rmdir || true ))

 

where's your git repo ?

 

can you link me, or are you building local.

some things to note.

 

normally you should not use sudo in a dockerfile, the user is already root.

use absolute path references rather than ~/

don't use standard init files

only use ln to config files as a last resort, see if the command line options for your app lets you specify config file location.

 

  • Author

Tnx. I fixed root and paths. Don't think it is possible to specify config location for the app.

 

How can you make a folder from container visible to host? If i try with volumes i end up with empty directory because host dir overwrites container dir. I know of /var/lib/docker/... Something simpler?

 

 

 

Tnx. I fixed root and paths. Don't think it is possible to specify config location for the app.

 

How can you make a folder from container visible to host? If i try with volumes i end up with empty directory because host dir overwrites container dir. I know of /var/lib/docker/... Something simpler?

 

instead of putting/linking the config file to the volume in the dockerfile, make a firstrun script that uses an if to see if it's there, if not copy/link it from a temporary location to the volume.

  • Author

Ok, i've tried this. Still no file in the volume. I must be doing something wrong. If i run container on ubuntu, attach to it and exec the same procedure, file gets created.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.