3 Dec 2021 |
_hc | In reply to @proletarius101:matrix.org Can also be used to casually handout gitlab runners, when facing e.g. No space left issues yeah, that would be nice. The only question for me is who will run those runners? I can't be involved in any more projects, there is too much on my plate. | 08:36:42 |
proletarius101 | You mean who maintain? | 08:37:10 |
proletarius101 | I think I can maintain, or you may delegate multiple members | 08:37:44 |
_hc | proletarius101: https://gitlab.com/fdroid/admin/-/issues/296 | 09:14:29 |
_hc | proletarius101: did you see my docker buildserver work? https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1055 | 09:24:32 |
proletarius101 | In reply to @eighthave:matrix.org proletarius101: did you see my docker buildserver work? https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1055 yeah, that's nice. sorry i don't have time to look into the issue you are facing | 09:25:02 |
proletarius101 | yet | 09:25:05 |
proletarius101 | i think i'll look into it | 09:25:16 |
_hc | its pretty close, it just needs someone who knows Docker better than me to define what "package" and "snapshot" should mena | 09:25:39 |
_hc | mean | 09:25:40 |
_hc | in vagrant+VM "package" means making a box from a VM that has been stopped. | 09:26:20 |
_hc | docker commit seems to work on a running container. | 09:26:33 |
_hc | I imagine that "snapshot" will mean a image tag in Docker | 09:27:13 |
proletarius101 | i see. I also observed the "snapshot" function and got confused | 09:27:44 |
proletarius101 | yeah I'll say it looks like a image commit | 09:28:06 |
_hc | proletarius101: so the "image" will have the complete state of the container that has been stopped? | 09:31:07 |
proletarius101 | In reply to @eighthave:matrix.org proletarius101: so the "image" will have the complete state of the container that has been stopped? Yes. Running or stopped, docker commit <container_name> does that job | 09:34:19 |
_hc | let's say I start a debian:bullseye container, then do apt-get install android-sdk , then stop the container. How do I make a tagged image that will contain android-sdk ? | 09:38:26 |
proletarius101 | In reply to @eighthave:matrix.org let's say I start a debian:bullseye container, then do apt-get install android-sdk , then stop the container. How do I make a tagged image that will contain android-sdk ? docker commit to get a hash of the layer. Then docker tag <hash> <tag_name> to give the hash a tag name | 09:42:10 |
_hc | so the container has to be running then | 09:42:45 |
proletarius101 | In reply to @eighthave:matrix.org so the container has to be running then no? as long as it's not removed, it can be stopped | 09:43:16 |
_hc | I want to do it on a stpped container | 09:43:19 |
linsui | Can anyone take a look at https://github.com/peercoin/peercoin_flutter/issues/107#issuecomment-985328698? | 09:45:07 |
_hc | vagrant says: | 09:45:16 |
_hc | default stopped (docker) | 09:45:19 |
_hc | but:
root@checkupdates:~/code/fdroid/fdroidserver/buildserver# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@checkupdates:~/code/fdroid/fdroidserver/buildserver#
| 09:45:46 |
proletarius101 | In reply to @eighthave:matrix.org I want to do it on a stpped container docker run --name test alpine
docker stop test
LAYER_HASH=docker commit test
docker tag $LAYER_HASH android-sdk
| 09:46:11 |
proletarius101 | In reply to @eighthave:matrix.org
but:
root@checkupdates:~/code/fdroid/fdroidserver/buildserver# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@checkupdates:~/code/fdroid/fdroidserver/buildserver#
you'll need docker ls -a or docker container ls -a | 09:46:44 |
proletarius101 | sorry | 09:47:43 |
proletarius101 | docker ps -a | 09:47:48 |