Contenu | Rechercher | Menus

Annonce

L'équipe des administrateurs et modérateurs du forum vous invite à prendre connaissance des nouvelles règles.
En cas de besoin, vous pouvez intervenir dans cette discussion.

Ubuntu 18.04 LTS
Ubuntu-fr propose des clés USB de Ubuntu et toutes ses « saveurs » ainsi qu'un magnifique t-shirt pour cette toute nouvelle version d'Ubuntu !

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#426 Le 27/04/2018, à 12:45

Padrig

Re : [RESOLU] Utiliser captvty sous wine

patrick@patrick-G31M-ES2L:~/abc$ docker rm -f $(docker ps -aq)
9b9493dae2b9
542cd4d8a371
063b239ac59b
c6dfb73af503
85e376c74c65
3e7ed293d8f1
68ecf65a1000
patrick@patrick-G31M-ES2L:~/abc$ docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
<none>                <none>              565117d2d6c9        26 hours ago        113 MB
k3ck3c/captvty_v3_1   latest              a8948f5ca7d0        13 days ago         2.39 GB
ubuntu                16.04               c9d990395902        2 weeks ago         113 MB
k3ck3c/captvty        latest              d05adeb6dd23        2 weeks ago         2.81 GB
k3ck3c/captvty        <none>              e66c68529eb6        4 weeks ago         2.81 GB
k3ck3c/captvty_v3_1   <none>              fd039bdcf5d8        5 weeks ago         2.61 GB
ubuntu                latest              f975c5035748        7 weeks ago         112 MB
hello-world           latest              f2a91732366c        5 months ago        1.85 kB
patrick@patrick-G31M-ES2L:~/abc$ 

patrick@patrick-G31M-ES2L:~/abc$ docker system prune
WARNING! This will remove:
	- all stopped containers
	- all volumes not used by at least one container
	- all networks not used by at least one container
	- all dangling images
Are you sure you want to continue? [y/N] y
Deleted Volumes:
15835a3493c99b72d64208377bf73c3f258b28a2afbe5217d1eb62046e82ba2e
1893366198ee8e2545bdb701e95d51724907be740de70469871428de4d42233a
40ba1ce528b3e64d0f9019b40bdbf76fefc119772c6e2405b696ec0e1a061e17
ae3cc53eb3de864ee4ce2778ce148a41fa8b0b51e2609808683dfa392739202f
bffe9182a5e7c00f483cd670f2865c76b08dfb737d32ee1d5fe9d2b4a8e2b968
fb3d1c49b8c0fb77e80c65a85162301749294ef5c8515f7b6b542bdea7fba24b
d3cca2b83369dd11955ce37394966e6d35794da08d24e0173a9f71de1a61fa12
58493b0fb3ca8e24f8ea5244e43df06511b7171ef031fe3c23c0145e98b63d43
6f7ec59219be8a12839764e627108356df1693fcaaa67e60c4654d27076d5c61
9eec02757466c377f57bae12a5a8fd74c3d4854a13be7426367325d185329d32
a283112c0e2b27354d4c70f75c3e696f0279c1851d2bf8118b77e7c9d0d5245b
3ef3e1bc9992eb56157f741b949296030aa8762c2268b55b75b3b609558ea930
56b8ec4e3ea3094fa4108c60d5a0a0454f8a7429192210743c6074b46c464e3a
58f30950125e37422153df04a869a94eadf932d72ca6ce059726d0be4fc4914f
f36c13614a9f607b5bca49ff6a879e3e0a9f521ad743302bed86bf3b91e8fd06
5e4fda406144841c69e47b3cb3ef3411c34e300af21aef63d26198e26ce4523e
a524abd5df1a8b6ec96503fb0b3c476c0ef41af679f79cd61160daae1d9074b9
e63667368fb18e06ce52f86f6346be35a6a1ba2a67a43658d24e8be8a44f0941
1d76daf1b409153ece9760a27712e70d6bc3d421ea316142944842c10270fb68
31cba8b7a935164deea029eef4e7511c5d99ce88acbfe36ad5ca05b9ae583c7c
79f689a078aa187cacf4ed365539486d1e99ff5118bd6234b82320acec855c0e
a440c00821283f7acc1d0d9c7cce93599b7cf1d271dc7005f06c7b140c7f9d04
be3f0d17fb7d2f782753baaa9a4a71589feaf05751697e0f198211688c008a13
c45d8be3b451990caf20da2595d2b2040e15a6ea18f2f934142cd2a48af9ec3c
10bc1594fdad22210dff7b1517500c4896f939c578b4687d684980b571efac58
66e29345c71559580b101fde6d46fd1706f5f546b194d5168ce55071fab6aa62
a126ea85a973ac2c35b9b5a6a7cfdd1f6b01f491096551666e24dd690a58360c
d1f8c7a7f7062a644c52a5ff33b59226deaa7174da905a52386cf6246eb5230e
4b6b1993155ecf15328e7e837552674e8ad4ccdbc49ab33e13caaf94072d8a16
61ad26a7f0490043127fef57ed33953750b9c74ac5459e1f1a6d17539bba9001
dd2b3eaa813b4860f91b05fbcbf2d155c66e94804fc0956900d3debba8f3ee3e
2c885d876f41f04a83270d602bb5fb67214e3e96c7391c6aa77051ff29af6c3e
76123d2e1f63b67f5301e7442d31e43cc20b6cc495d0e82ce8c2ed5b7312c92e
dfe47f1d816b7f786ba724e07d45532a1687e3c252e1d123239c4b95e1b92156
b677ec3221bd7330312f4411b19d30239a0bd32cbef4893d14dc2b392620673a
dfa45180ac929c74c7a0cba13d81836834475d0ac93c725b566477b4b4ecd826
e4d412438e7b5564aeb3f3c4b88983551987a03271e28c411e939e341274646c
1a51c0b65c6084738d3a62f7427070337149243bc191806e6f58167e8adb7d08
4f00a769932af845b09b3e4c8b262b0243baa9e3c390c8251056d2b097c58e24
faa2a2ab866c872baf1c9f410c7e0f1898c60ed5a28b3a0de398eb7cf1abec12
97f3831ec68e2920db5bdb18fa7ce33f9e4fde1bf65bdf13383c39c28b4df306
e26d955a4a51f608e3901d798909255d35a3922fc733dc63f7878bd44f1d5e6d
e3f452334dba943433235d409acafd7c9467d5f6a176ba5e0793a40378485518
d309f81ea37672254316bc0f3f109d5ec20ae0f3ee11602532c685e67708944c
3ce2b25bdd5eb047480baec9b7c67d58ff69fcf214e76f4c6a4da1bf19383e17
485a923bd340cd797c3c5fc898123b4799271c1546b6152363dca7d0142cfc7e
935d2c9bce78732201a0375d1452f91939aaa7bf99da6b2dbcabb6a71b8b5e33
d8826e01afd9fc06fb43f49e2de9de4b2704ccf4f561117d3f89bd762a6dc455
e387b472c615d2212270587ca6bc246ca54f54c97a21a71d88a74ecc413f003e
e6a992a1a9feab1613161fd6d01a1c4857ae638600c2587ca0ccc0c72398d941
07ff61ef513a8e3520c0fc8622d1fb1231e67cd878ca0052f0ef93af3d026108
292a382313452145c3de8d90cbfaef7e459d79e0308b73535ee6938ae17b6d16
9c8e14d5e1d0d32ccac3d46f7e284339093f87f872d8f176ecca36a42de8a135

Total reclaimed space: 462 B
patrick@patrick-G31M-ES2L:~/abc$ 

patrick@patrick-G31M-ES2L:~/abc$ docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
k3ck3c/captvty_v3_1   latest              a8948f5ca7d0        13 days ago         2.39 GB
ubuntu                16.04               c9d990395902        2 weeks ago         113 MB
k3ck3c/captvty        latest              d05adeb6dd23        2 weeks ago         2.81 GB
k3ck3c/captvty        <none>              e66c68529eb6        4 weeks ago         2.81 GB
k3ck3c/captvty_v3_1   <none>              fd039bdcf5d8        5 weeks ago         2.61 GB
ubuntu                latest              f975c5035748        7 weeks ago         112 MB
hello-world           latest              f2a91732366c        5 months ago        1.85 kB
patrick@patrick-G31M-ES2L:~/abc$ 

Hors ligne

#427 Le 27/04/2018, à 12:48

Padrig

Re : [RESOLU] Utiliser captvty sous wine

Plusieurs docker en parallele , on dirait! Et qui ne s'enlevent pas  avec

docker rm -f $(docker ps -aq)

Hors ligne

#428 Le 27/04/2018, à 12:57

k3c

Re : [RESOLU] Utiliser captvty sous wine

Bien c'est propre

Je ne vois pas le

docker build ...

tu confonds les images

docker images

et les conteneurs

docker ps -a

Archlinux sur Xiaomi Air 13

Hors ligne

#429 Le 27/04/2018, à 13:28

Padrig

Re : [RESOLU] Utiliser captvty sous wine

je recommence car je navais pas repondu y à la question:

patrick@patrick-G31M-ES2L:~$ cd abc
patrick@patrick-G31M-ES2L:~/abc$ cd abc
bash: cd: abc: Aucun fichier ou dossier de ce type
patrick@patrick-G31M-ES2L:~/abc$ docker build...
docker: 'build...' is not a docker command.
See 'docker --help'
patrick@patrick-G31M-ES2L:~/abc$ docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
k3ck3c/captvty_v3_1   latest              a8948f5ca7d0        13 days ago         2.39 GB
ubuntu                16.04               c9d990395902        2 weeks ago         113 MB
k3ck3c/captvty        latest              d05adeb6dd23        2 weeks ago         2.81 GB
k3ck3c/captvty        <none>              e66c68529eb6        4 weeks ago         2.81 GB
k3ck3c/captvty_v3_1   <none>              fd039bdcf5d8        5 weeks ago         2.61 GB
ubuntu                latest              f975c5035748        7 weeks ago         112 MB
hello-world           latest              f2a91732366c        5 months ago        1.85 kB
patrick@patrick-G31M-ES2L:~/abc$ docker system prune
WARNING! This will remove:
	- all stopped containers
	- all volumes not used by at least one container
	- all networks not used by at least one container
	- all dangling images
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0 B
patrick@patrick-G31M-ES2L:~/abc$ docker images
REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
k3ck3c/captvty_v3_1   latest              a8948f5ca7d0        13 days ago         2.39 GB
ubuntu                16.04               c9d990395902        2 weeks ago         113 MB
k3ck3c/captvty        latest              d05adeb6dd23        2 weeks ago         2.81 GB
k3ck3c/captvty        <none>              e66c68529eb6        4 weeks ago         2.81 GB
k3ck3c/captvty_v3_1   <none>              fd039bdcf5d8        5 weeks ago         2.61 GB
ubuntu                latest              f975c5035748        7 weeks ago         112 MB
hello-world           latest              f2a91732366c        5 months ago        1.85 kB
patrick@patrick-G31M-ES2L:~/abc$ docker build...
docker: 'build...' is not a docker command.
See 'docker --help'
patrick@patrick-G31M-ES2L:~/abc$ docker build  -t k3ck3c/cap3 .
Sending build context to Docker daemon 4.096 kB
Step 1/17 : FROM ubuntu:16.04
 ---> c9d990395902
Step 2/17 : ENV DEBIAN_FRONTEND noninteractive
 ---> Running in b7c5b19c5156
 ---> b9a1d03492e8
Removing intermediate container b7c5b19c5156
Step 3/17 : ENV LANG fr_FR.UTF-8
 ---> Running in 3f6cc0d9d15b
 ---> aff9884c52ce
Removing intermediate container 3f6cc0d9d15b
Step 4/17 : ENV LANGUAGE fr_FR:en
 ---> Running in d7f4a69d2aa8
 ---> 7169ab7c8223
Removing intermediate container d7f4a69d2aa8
Step 5/17 : ENV LC_ALL fr_FR.UTF-8
 ---> Running in cb0232ef5a1d
 ---> d86709e77641
Removing intermediate container cb0232ef5a1d
Step 6/17 : RUN locale-gen fr_FR.UTF-8 && dpkg --add-architecture i386 && 	apt-get update &&         BUILD_PACKAGES='wget software-properties-common unzip apt-transport-https openssh-server xauth cabextract winbind squashfs-tools xvfb ' &&	apt-get -qy upgrade && apt-get -qy install $BUILD_PACKAGES &&         AUTO_ADDED_PACKAGES=`apt-mark showauto` && 	wget -qO- https://dl.winehq.org/wine-builds/Release.key | apt-key add - && 	apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ && 	apt-get update && apt-get -qy install --no-install-recommends winehq-devel && useradd -d /home/gg -m -s /bin/bash gg && echo gg:gg | chpasswd && 	wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O /tmp/winetricks && 	chmod +x /tmp/winetricks && echo $AUTO_ADDED_PACKAGES && sleep 11
 ---> Running in fc0c2085c830
/bin/sh: 1: locale-gen: not found
The command '/bin/sh -c locale-gen fr_FR.UTF-8 && dpkg --add-architecture i386 && 	apt-get update &&         BUILD_PACKAGES='wget software-properties-common unzip apt-transport-https openssh-server xauth cabextract winbind squashfs-tools xvfb ' &&	apt-get -qy upgrade && apt-get -qy install $BUILD_PACKAGES &&         AUTO_ADDED_PACKAGES=`apt-mark showauto` && 	wget -qO- https://dl.winehq.org/wine-builds/Release.key | apt-key add - && 	apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ && 	apt-get update && apt-get -qy install --no-install-recommends winehq-devel && useradd -d /home/gg -m -s /bin/bash gg && echo gg:gg | chpasswd && 	wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O /tmp/winetricks && 	chmod +x /tmp/winetricks && echo $AUTO_ADDED_PACKAGES && sleep 11' returned a non-zero code: 127

Hors ligne

#430 Le 27/04/2018, à 19:16

k3c

Re : [RESOLU] Utiliser captvty sous wine

Bizarre car j'ai reconstruit récemment cette image avec ce Dockerfile

Faut debugger

docker run -it ubuntu:16.04 bash

ça va ouvrir un Shell, puis faire

apt-cache search locale-gen

voir ce que ça donne

Et
ctrl d
Pour sortir


Archlinux sur Xiaomi Air 13

Hors ligne

#431 Le 27/04/2018, à 21:09

Padrig

Re : [RESOLU] Utiliser captvty sous wine

Voila  ca donne rien!

patrick@patrick-G31M-ES2L:~$ cd abc
patrick@patrick-G31M-ES2L:~/abc$ docker run -it ubuntu:16.04 bash
root@a211edfda3d5:/# apt-cache search locale-gen
root@a211edfda3d5:/# exit
patrick@patrick-G31M-ES2L:~/abc$ 

ce locale-gen n'apparait pas avec synaptic.. pourtant ca doit bien appartenir à une librairie quelconque!

Hors ligne

#432 Le 28/04/2018, à 10:16

k3c

Re : [RESOLU] Utiliser captvty sous wine

On va nettoyer les images docker ubuntu

docker rm -f $(docker ps -aq)

docker rmi c9d99 f975

et tu relances

docker pull ubuntu:16.04

et on teste

docker run -it ubuntu:16.04 bash

on met à jour dans le conteneur et on cherche

apt-get update
apt-get cache search locale

Archlinux sur Xiaomi Air 13

Hors ligne

#433 Le 28/04/2018, à 10:16

k3c

Re : [RESOLU] Utiliser captvty sous wine

On va nettoyer les images docker ubuntu

docker rm -f $(docker ps -aq)

docker rmi c9d99 f975

et tu relances

docker pull ubuntu:16.04

et on teste

docker run -it ubuntu:16.04 bash

on met à jour dans le conteneur et on cherche

apt-get update
apt-get cache search locale

Archlinux sur Xiaomi Air 13

Hors ligne

#434 Le 28/04/2018, à 11:56

Padrig

Re : [RESOLU] Utiliser captvty sous wine

J'ai suivi la recette ,
et ca donne ca ; à la fin, locale-gen ou locale sont pas trouvés!

patrick@patrick-G31M-ES2L:~$ docker rm -f $(docker ps -aq)
a211edfda3d5
8ccfd53db2a4
d6872bb0eddd
d8e1c30e828d
75e72157fd94
fc0c2085c830
patrick@patrick-G31M-ES2L:~$ cd abc
patrick@patrick-G31M-ES2L:~/abc$ docker rm -f $(docker ps -aq)
"docker rm" requires at least 1 argument(s).
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]

Remove one or more containers
patrick@patrick-G31M-ES2L:~/abc$ docker rm -f $(docker ps -aq)
"docker rm" requires at least 1 argument(s).
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]

Remove one or more containers
patrick@patrick-G31M-ES2L:~/abc$ docker rmi c9d99 f975
Untagged: ubuntu:latest
Untagged: ubuntu@sha256:e348fbbea0e0a0e73ab0370de151e7800684445c509d46195aef73e090a49bd6
Deleted: sha256:f975c50357489439eb9145dbfa16bb7cd06c02c31aa4df45c77de4d2baa4e232
Deleted: sha256:0bd983fc698ee9453dd7d21f8572ea1016ec9255346ceabb0f9e173b4348644f
Deleted: sha256:08fe90e1a1644431accc00cc80f519f4628dbf06a653c76800b116d3333d2b6d
Deleted: sha256:5dc5eef2b94edd185b4d39586e7beb385a54b6bac05d165c9d47494492448235
Deleted: sha256:14a40a140881d18382e13b37588b3aa70097bb4f3fb44085bc95663bdc68fe20
Deleted: sha256:a94e0d5a7c404d0e6fa15d8cd4010e69663bd8813b5117fbad71365a73656df9
Error response from daemon: conflict: unable to delete c9d990395902 (cannot be forced) - image has dependent child images
patrick@patrick-G31M-ES2L:~/abc$ docker pull ubuntu:16.04
16.04: Pulling from library/ubuntu
297061f60c36: Pull complete 
e9ccef17b516: Pull complete 
dbc33716854d: Pull complete 
8fe36b178d25: Pull complete 
686596545a94: Pull complete 
Digest: sha256:260fa96e0c0d23f433fb0a9fa380d1d29911ed59769925edaddb0e13397129ba
Status: Downloaded newer image for ubuntu:16.04
patrick@patrick-G31M-ES2L:~/abc$ docker run -it ubuntu:16.04 bash
root@f14542cac833:/# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [79.5 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [612 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]     
Get:7 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]       
Get:8 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [435 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3489 B]
Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]   
Get:12 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [254 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [991 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [803 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [18.5 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [5157 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8075 B]
Fetched 25.2 MB in 20s (1201 kB/s)                                             
Reading package lists... Done
root@f14542cac833:/# apt-get cache search locale
E: Invalid operation cache
root@f14542cac833:/# apt-cache search locale-gen
root@f14542cac833:/# root@f14542cac833:/# apt-get cache search locale
E: Invalid operation cache
root@f14542cac833:/# apt cache search locale
E: Invalid operation cache
root@f14542cac833:/# apt cache search locale-gen
E: Invalid operation cache
root@f14542cac833:/# apt --cache search locale-gen
E: Command line option --cache is not understood in combination with the other options
root@f14542cac833:/#                 

Hors ligne

#435 Le 28/04/2018, à 13:20

k3c

Re : [RESOLU] Utiliser captvty sous wine

Bon

Apt-cache search locale

Ne renvoie rien

Je testerai quand j'aurai un ordinateur, dans quelques jours

A plus


Archlinux sur Xiaomi Air 13

Hors ligne

#436 Le 02/05/2018, à 18:04

k3c

Re : [RESOLU] Utiliser captvty sous wine

Bon j'ai mis à jour la v3 de Captvty avec la dernière version du 23 avril

 docker run -it -e DISPLAY -v $HOME/.Xauthority:/home/gg/.Xauthority -v /tmp -v /tmp/.X11-unix:/tmp/.X11-unix:ro -v /home/$USER:/home/gg/Captvtyv3/Vidéos --net=host k3ck3c/captvty_v3_1

doit télécharger la dernière version et lancer

J'ai téléchargé une vidéo, elle apparaît chez moi, dans /home/$USER


Archlinux sur Xiaomi Air 13

Hors ligne

#437 Le 10/05/2018, à 07:15

Draky

Re : [RESOLU] Utiliser captvty sous wine

Salut

Je poste juste pour signaler cette méthode qui marche sans se prendre la tête avec Docker and co : http://sebsauvage.net/wiki/doku.php?id=captvty_linux

PlayOnLinux inside.

Hors ligne