Skip to content

Commit 1e5326e

Browse files
authored
Merge pull request #166 from TomasTomecek/podman
0.6.2 release
2 parents ee34a82 + 613c754 commit 1e5326e

File tree

5 files changed

+56
-18
lines changed

5 files changed

+56
-18
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.6.2
4+
5+
* Sen now has an icon! Thanks to [@Vitexus](https://github.com/Vitexus), [#161](https://github.com/TomasTomecek/sen/pull/161).
6+
* `finished_at` is now being parsed gracefully, the same as `started_at`, by [@TomasTomecek](https://github.com/TomasTomecek), [#149](https://github.com/TomasTomecek/sen/pull/149);
7+
thanks for report [@soyo42](https://github.com/soyo42), [#148](https://github.com/TomasTomecek/sen/pull/148)
8+
9+
310
## 0.6.1
411

512
Sen is now in maintenance mode — I am not planning on adding new features myself.

README.md

+43-15
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
![Build Status](https://travis-ci.org/TomasTomecek/sen.svg?branch=master)
44

55

6-
`sen` is a terminal user interface for docker engine:
6+
`sen` is a terminal user interface for containers:
77
* it can interactively manage your containers and images:
8-
* manage? start, stop, restart, kill, delete,...
8+
* start, stop, restart, kill, delete,...
99
* there is a "dashboard" view for containers and images
1010
* you are able to inspect containers and images
1111
* sen can fetch logs of containers and even stream logs real-time
@@ -24,7 +24,7 @@ You can [see the features yourself](/docs/features.md).
2424

2525
# Status
2626

27-
TL;DR: maintenance mode
27+
**maintenance mode**
2828

2929
I lost interest in working on new features for sen. I will continue providing
3030
support for sen as much as I can, but only bug fixes. Please don't expect any
@@ -68,7 +68,7 @@ $ docker run -v /var/run/docker.sock:/run/docker.sock -ti -e TERM $USER/sen
6868
`sen` is using [`urwidtrees`](https://github.com/pazz/urwidtrees) as a dependency. Unfortunately, the upstream
6969
maintainer doesn't maintain it on PyPI so we need to install it directly from
7070
git, before installing sen (the forked PyPI version has a [bug](https://github.com/TomasTomecek/sen/issues/128) in
71-
installation process):
71+
the installation process):
7272

7373
```
7474
$ pip3 install git+https://github.com/pazz/urwidtrees.git@9142c59d3e41421ff6230708d08b6a134e0a8eed#egg=urwidtrees-1.0.3.dev
@@ -114,22 +114,42 @@ $ pip3 install --user -r ./requirements.txt
114114
$ PYTHONPATH="$PWD:$PYTHONPATH" ./sen/cli.py
115115
```
116116

117-
If `pip3` executable is not available on your system, you can run pip like this:
118-
119-
```
120-
$ python3 -m pip install sen
121-
```
122-
123117

124118
# Prerequisite
125119

126120
Either:
127121

128-
* The unix socket for docker engine needs to be accessible. By default it's located at `/run/docker.sock`.
122+
* The unix socket with the API for docker engine needs to be accessible. By default it's located at `/run/docker.sock`.
129123

130124
Or:
131125

132-
* Have the `DOCKER_HOST`, `DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH` set properly. If you're using `docker-machine` or `boot2docker` you're all set!
126+
* Have the `DOCKER_HOST`, `DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH` set properly.
127+
128+
129+
# Podman
130+
131+
Starting Podman v2.0, there is a [Docker-compatible
132+
API](https://docs.podman.io/en/latest/_static/api.html) provided by Podman.
133+
`sen` works well while talking to Podman over this API.
134+
135+
136+
## Connecting to Podman
137+
138+
Run Podman as:
139+
```
140+
$ podman system service -t 0
141+
```
142+
143+
Let's discover the unix socket path now:
144+
```
145+
$ podman info --format={{".Host.RemoteSocket.Path"}}
146+
/run/user/1000/podman/podman.sock
147+
```
148+
149+
And finally tell `sen` to connect to it:
150+
```
151+
$ DOCKER_HOST=unix://$(podman info --format={{".Host.RemoteSocket.Path"}}) sen
152+
```
133153

134154

135155
# Keybindings
@@ -231,8 +251,16 @@ You can enter it by typing command `df`.
231251

232252
# Why I started sen?
233253

234-
Since I started using docker, I always dreamed of having a docker TUI. Something like [tig](https://github.com/jonas/tig), [htop](http://hisham.hm/htop/) or [alot](https://github.com/pazz/alot). Some appeared over time. Such as [docker-mon](https://github.com/icecrime/docker-mon) or [ctop](https://github.com/yadutaf/ctop). Unfortunately, those are not proper docker TUIs. They are meant for monitoring and diagnostics.
254+
Since I started using docker, I always dreamed of having a docker TUI.
255+
Something like [tig](https://github.com/jonas/tig),
256+
[htop](http://hisham.hm/htop/) or [alot](https://github.com/pazz/alot). Some
257+
appeared over time. Such as
258+
[docker-mon](https://github.com/icecrime/docker-mon) or
259+
[ctop](https://github.com/yadutaf/ctop). Unfortunately, those are not proper
260+
docker TUIs. They are meant for monitoring and diagnostics.
235261

236-
So I realized that if I want make my dream come true, I need to do it myself. That's where I started working on *sen* (*dream* in Slovak).
262+
So I realized that if I want make my dream come true, I need to do it myself.
263+
That's where I started working on *sen* (*dream* in Slovak).
237264

238-
But! As the time went, [someone](https://github.com/moncho) else had the same idea as I did: [dry](https://github.com/moncho/dry).
265+
But! As the time went, [someone](https://github.com/moncho) else had the same
266+
idea as I did: [dry](https://github.com/moncho/dry).

sen.spec

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
Name: %{srcname}
10-
Version: 0.6.1
10+
Version: 0.6.2
1111
Release: 1%{?dist}
1212
Summary: %{sum}
1313

@@ -76,6 +76,9 @@ py.test-%{python3_version} -vv tests || :
7676

7777

7878
%changelog
79+
* Mon Nov 01 2021 Tomas Tomecek <[email protected]> - 0.6.2-1
80+
- 0.6.2 upstream release
81+
7982
* Mon Mar 04 2019 Tomas Tomecek <[email protected]> - 0.6.1-1
8083
- New upstream release 0.6.1
8184

sen/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from sen.constants import FALLBACK_LOG_PATH
44

5-
__version__ = '0.6.1'
5+
__version__ = '0.6.2'
66

77

88
def set_logging(name="sen", level=logging.DEBUG, path=FALLBACK_LOG_PATH):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='sen',
20-
version='0.6.1',
20+
version='0.6.2',
2121
description="Terminal User Interface for Docker Engine",
2222
author='Tomas Tomecek',
2323
author_email='[email protected]',

0 commit comments

Comments
 (0)