Sign inSign up

alepeh/shell

By alepeh

•Updated almost 8 years ago

Image
0

551

alepeh/shell repository overview

⁠shell

Productivity hacks

⁠Run as docker container

docker run -it -v <host-dir>:/home/user/workspace alepeh/shell sh -l

As we are not entering a login shell, we need to add sh -l. You might need to run the container as a user that exists on the host, by adding e.g. --user 1026

⁠TODOTXT

The config assumes that your todo, done, report files are located in ~/workspace/todo

⁠GIT

If the content within /home/user/workspace happens to be a git repo, you need to mount the ssh key, config, authorized_keys and gitconfig in the container to be able to push changes.

e.g. -v ~/.gitconfig:/etc/gitconfig -v ~/.ssh:/home/user/.ssh

Tag summary

Content type

Image

Digest

Size

21.3 MB

Last updated

almost 8 years ago

docker pull alepeh/shell