{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17335","labels_url":"https://api.github.com/repos/docker/docker/issues/17335/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17335/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17335/events","html_url":"https://github.com/docker/docker/issues/17335","id":113176746,"number":17335,"title":"\"strconv.ParseInt: parsing \"17\\x1b[17\": invalid syntax\" when try install phpmyadmin on ubuntu (container)","user":{"login":"slavapr","id":4169617,"avatar_url":"https://avatars.githubusercontent.com/u/4169617?v=3","gravatar_id":"","url":"https://api.github.com/users/slavapr","html_url":"https://github.com/slavapr","followers_url":"https://api.github.com/users/slavapr/followers","following_url":"https://api.github.com/users/slavapr/following{/other_user}","gists_url":"https://api.github.com/users/slavapr/gists{/gist_id}","starred_url":"https://api.github.com/users/slavapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavapr/subscriptions","organizations_url":"https://api.github.com/users/slavapr/orgs","repos_url":"https://api.github.com/users/slavapr/repos","events_url":"https://api.github.com/users/slavapr/events{/privacy}","received_events_url":"https://api.github.com/users/slavapr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-24T18:46:25Z","updated_at":"2015-10-24T18:46:25Z","closed_at":null,"body":"Hi,\r\n\r\nI try install phpmyadmin on ubuntu (docker container). I use Windows 10.\r\n\r\nPPP@PPP MINGW64 ~\r\n$  winpty docker run -it ubuntu bash\r\nroot@215136960bba:/# dir\r\nbin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var\r\nroot@215136960bba:/# cd etc\r\nroot@215136960bba:/etc# dir\r\nX11                     default          iproute2        mime.types     python3.4     shells\r\nadduser.conf            deluser.conf     issue           mke2fs.conf    rc.local      skel\r\nalternatives            depmod.d         issue.net       modprobe.d     rc0.d         subgid\r\napparmor                dhcp             kbd             modules        rc1.d         subgid-\r\napparmor.d              dpkg             kernel          mtab           rc2.d         subuid\r\napt                     environment      ld.so.cache     network        rc3.d         subuid-\r\nbash.bashrc             fstab            ld.so.conf      networks       rc4.d         sudoers\r\nbash_completion.d       fstab.d          ld.so.conf.d    newt           rc5.d         sudoers.d\r\nbindresvport.blacklist  gai.conf         legal           nologin        rc6.d         sysctl.conf\r\nblkid.conf              group            libaudit.conf   nsswitch.conf  rcS.d         sysctl.d\r\nblkid.tab               gshadow          locale.alias    opt            resolv.conf   systemd\r\nconsole-setup           host.conf        localtime       os-release     resolvconf    terminfo\r\ncron.d                  hostname         logcheck        pam.conf       rmt           timezone\r\ncron.daily              hosts            login.defs      pam.d          rpc           ucf.conf\r\ncron.hourly             init             logrotate.conf  passwd         rsyslog.conf  udev\r\ncron.monthly            init.d           logrotate.d     perl           rsyslog.d     update-motd.d\r\ncron.weekly             initramfs-tools  lsb-release     ppp            securetty     upstart-xsessions\r\ncrontab                 inputrc          magic           profile        security      vim\r\ndbus-1                  insserv          magic.mime      profile.d      selinux       vtrgb\r\ndebconf.conf            insserv.conf     mailcap         protocols      services\r\ndebian_version          insserv.conf.d   mailcap.order   python3        shadow\r\nroot@215136960bba:/etc# sudo apt-get install phpmyadmin\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nE: Unable to locate package phpmyadmin\r\nroot@215136960bba:/etc# cd .\r\nroot@215136960bba:/# cd..\r\nbash: cd..: command not found\r\nroot@215136960bba:/# sudo apt-get install phpmyadmin\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nE: Unable to locate package phpmyadmin\r\nroot@215136960bba:/#\r\nroot@215136960bba:/# ^C\r\nroot@215136960bba:/#  sudo apt-get update\r\nIgn http://archive.ubuntu.com trusty InRelease\r\nGet:1 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]\r\nGet:2 http://archive.ubuntu.com trusty-security InRelease [64.4 kB]\r\nHit http://archive.ubuntu.com trusty Release.gpg\r\nGet:3 http://archive.ubuntu.com trusty-updates/main Sources [301 kB]\r\nGet:4 http://archive.ubuntu.com trusty-updates/restricted Sources [4513 B]\r\nGet:5 http://archive.ubuntu.com trusty-updates/universe Sources [176 kB]\r\nGet:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [799 kB]\r\nGet:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [22.7 kB]\r\nGet:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [421 kB]\r\nHit http://archive.ubuntu.com trusty Release\r\nGet:9 http://archive.ubuntu.com trusty-security/main Sources [123 kB]\r\nGet:10 http://archive.ubuntu.com trusty-security/restricted Sources [3230 B]\r\nGet:11 http://archive.ubuntu.com trusty-security/universe Sources [35.4 kB]\r\nGet:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [448 kB]\r\nGet:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [19.4 kB]\r\nGet:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [151 kB]\r\nGet:15 http://archive.ubuntu.com trusty/main Sources [1335 kB]\r\nGet:16 http://archive.ubuntu.com trusty/restricted Sources [5335 B]\r\nGet:17 http://archive.ubuntu.com trusty/universe Sources [7926 kB]\r\nGet:18 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB]\r\nGet:19 http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB]\r\nGet:20 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]\r\nFetched 21.2 MB in 27s (773 kB/s)\r\nReading package lists... Done\r\nroot@215136960bba:/# sudo apt-get install phpmyadmin\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nThe following extra packages will be installed:\r\n  apache2 apache2-bin apache2-data dbconfig-common fontconfig-config\r\n  fonts-dejavu-core javascript-common libapache2-mod-php5 libapr1 libaprutil1\r\n  libaprutil1-dbd-sqlite3 libaprutil1-ldap libasn1-8-heimdal libdbd-mysql-perl\r\n  libdbi-perl libedit2 libfontconfig1 libfreetype6 libgd3 libgssapi3-heimdal\r\n  libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal\r\n  libhx509-5-heimdal libjbig0 libjpeg-turbo8 libjpeg8 libjs-codemirror\r\n  libjs-jquery libjs-jquery-cookie libjs-jquery-event-drag\r\n  libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter\r\n  libjs-jquery-ui libjs-underscore libkrb5-26-heimdal libldap-2.4-2 libmcrypt4\r\n  libmysqlclient18 libroken18-heimdal libsasl2-2 libsasl2-modules\r\n  libsasl2-modules-db libterm-readkey-perl libtiff5 libvpx1 libwind0-heimdal\r\n  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 lsof\r\n  mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common openssl\r\n  php-gettext php5-cli php5-common php5-gd php5-json php5-mcrypt php5-mysql\r\n  php5-readline psmisc sgml-base ssl-cert xml-core\r\nSuggested packages:\r\n  www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom ufw\r\n  apache2-utils php-pear libclone-perl libmldbm-perl libnet-daemon-perl\r\n  libplrpc-perl libsql-statement-perl libgd-tools libjs-jquery-ui-docs\r\n  libmcrypt-dev mcrypt libsasl2-modules-otp libsasl2-modules-ldap\r\n  libsasl2-modules-sql libsasl2-modules-gssapi-mit\r\n  libsasl2-modules-gssapi-heimdal ca-certificates php5-user-cache mysql-server\r\n  sgml-base-doc openssl-blacklist debhelper\r\nThe following NEW packages will be installed:\r\n  apache2 apache2-bin apache2-data dbconfig-common fontconfig-config\r\n  fonts-dejavu-core javascript-common libapache2-mod-php5 libapr1 libaprutil1\r\n  libaprutil1-dbd-sqlite3 libaprutil1-ldap libasn1-8-heimdal libdbd-mysql-perl\r\n  libdbi-perl libedit2 libfontconfig1 libfreetype6 libgd3 libgssapi3-heimdal\r\n  libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal\r\n  libhx509-5-heimdal libjbig0 libjpeg-turbo8 libjpeg8 libjs-codemirror\r\n  libjs-jquery libjs-jquery-cookie libjs-jquery-event-drag\r\n  libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter\r\n  libjs-jquery-ui libjs-underscore libkrb5-26-heimdal libldap-2.4-2 libmcrypt4\r\n  libmysqlclient18 libroken18-heimdal libsasl2-2 libsasl2-modules\r\n  libsasl2-modules-db libterm-readkey-perl libtiff5 libvpx1 libwind0-heimdal\r\n  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 lsof\r\n  mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common openssl\r\n  php-gettext php5-cli php5-common php5-gd php5-json php5-mcrypt php5-mysql\r\n  php5-readline phpmyadmin psmisc sgml-base ssl-cert xml-core\r\n0 upgraded, 74 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 21.6 MB of archives.\r\nAfter this operation, 118 MB of additional disk space will be used.\r\nDo you want to continue? [Y/n] y\r\nGet:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libroken18-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1\r\n[40.0 kB]\r\nGet:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasn1-8-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1 [\r\n161 kB]\r\nGet:3 http://archive.ubuntu.com/ubuntu/ trusty/main libedit2 amd64 3.1-20130712-2 [86.7 kB]\r\nGet:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libhcrypto4-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1\r\n [83.9 kB]\r\nGet:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libheimbase1-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.\r\n1 [28.9 kB]\r\nGet:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libwind0-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1 [4\r\n7.8 kB]\r\nGet:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libhx509-5-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1\r\n[104 kB]\r\nGet:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkrb5-26-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1\r\n[196 kB]\r\nGet:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libheimntlm0-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.\r\n1 [15.2 kB]\r\nGet:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgssapi3-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1\r\n [89.8 kB]\r\nGet:11 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-modules-db amd64 2.1.25.dfsg1-17build1 [14.9 kB]\r\nGet:12 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-2 amd64 2.1.25.dfsg1-17build1 [56.5 kB]\r\nGet:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libldap-2.4-2 amd64 2.4.31-1+nmu2ubuntu8.2 [153 kB]\r\nGet:14 http://archive.ubuntu.com/ubuntu/ trusty/main libxau6 amd64 1:1.0.8-1 [8376 B]\r\nGet:15 http://archive.ubuntu.com/ubuntu/ trusty/main libxdmcp6 amd64 1:1.1.1-1 [12.8 kB]\r\nGet:16 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb1 amd64 1.10-2ubuntu1 [38.0 kB]\r\nGet:17 http://archive.ubuntu.com/ubuntu/ trusty/main libx11-data all 2:1.6.2-1ubuntu2 [111 kB]\r\nGet:18 http://archive.ubuntu.com/ubuntu/ trusty/main libx11-6 amd64 2:1.6.2-1ubuntu2 [560 kB]\r\nGet:19 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxml2 amd64 2.9.1+dfsg1-3ubuntu4.4 [570 kB]\r\nGet:20 http://archive.ubuntu.com/ubuntu/ trusty/main sgml-base all 1.26+nmu4ubuntu1 [12.5 kB]\r\nGet:21 http://archive.ubuntu.com/ubuntu/ trusty/main libapr1 amd64 1.5.0-1 [85.1 kB]\r\nGet:22 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1 amd64 1.5.3-1 [76.4 kB]\r\nGet:23 http://archive.ubuntu.com/ubuntu/ trusty/main fonts-dejavu-core all 2.34-1ubuntu1 [1024 kB]\r\nGet:24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main fontconfig-config all 2.11.0-0ubuntu4.1 [47.4 kB]\r\nGet:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libfreetype6 amd64 2.5.2-1ubuntu2.5 [304 kB]\r\nGet:26 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libfontconfig1 amd64 2.11.0-0ubuntu4.1 [123 kB]\r\nGet:27 http://archive.ubuntu.com/ubuntu/ trusty/main libjpeg-turbo8 amd64 1.3.0-0ubuntu2 [104 kB]\r\nGet:28 http://archive.ubuntu.com/ubuntu/ trusty/main libjpeg8 amd64 8c-2ubuntu8 [2194 B]\r\nGet:29 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libjbig0 amd64 2.0-2ubuntu4.1 [26.1 kB]\r\nGet:30 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libtiff5 amd64 4.0.3-7ubuntu0.3 [143 kB]\r\nGet:31 http://archive.ubuntu.com/ubuntu/ trusty/main libvpx1 amd64 1.3.0-2 [556 kB]\r\nGet:32 http://archive.ubuntu.com/ubuntu/ trusty/main libxpm4 amd64 1:3.5.10-1 [38.3 kB]\r\nGet:33 http://archive.ubuntu.com/ubuntu/ trusty/main libgd3 amd64 2.1.0-3 [147 kB]\r\nGet:34 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.44-0ubuntu0.14.04.1 [13.9 kB]\r\nGet:35 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.44-0ubuntu0.14.04.1 [596 kB]\r\nGet:36 http://archive.ubuntu.com/ubuntu/ trusty/main psmisc amd64 22.20-1ubuntu2 [53.2 kB]\r\nGet:37 http://archive.ubuntu.com/ubuntu/ trusty/main lsof amd64 4.86+dfsg-1ubuntu2 [257 kB]\r\nGet:38 http://archive.ubuntu.com/ubuntu/ trusty/main php5-json amd64 1.3.2-2build1 [34.4 kB]\r\nGet:39 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-common amd64 5.5.9+dfsg-1ubuntu4.13 [443 kB]\r\nGet:40 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-gd amd64 5.5.9+dfsg-1ubuntu4.13 [27.9 kB]\r\nGet:41 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-mysql amd64 5.5.9+dfsg-1ubuntu4.13 [63.0 kB]\r\nGet:42 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.13 [2165 kB]\r\nGet:43 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubuntu4.13 [12.1 kB]\r\nGet:44 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-modules amd64 2.1.25.dfsg1-17build1 [64.3 kB]\r\nGet:45 http://archive.ubuntu.com/ubuntu/ trusty-updates/main openssl amd64 1.0.1f-1ubuntu2.15 [489 kB]\r\nGet:46 http://archive.ubuntu.com/ubuntu/ trusty/main xml-core all 0.13+nmu2 [23.3 kB]\r\nGet:47 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-dbd-sqlite3 amd64 1.5.3-1 [10.5 kB]\r\nGet:48 http://archive.ubuntu.com/ubuntu/ trusty/main libaprutil1-ldap amd64 1.5.3-1 [8634 B]\r\nGet:49 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.8 [840 kB]\r\nGet:50 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.8 [160 kB]\r\nGet:51 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.8 [87.6 kB]\r\nGet:52 http://archive.ubuntu.com/ubuntu/ trusty/main dbconfig-common all 1.8.47+nmu1 [468 kB]\r\nGet:53 http://archive.ubuntu.com/ubuntu/ trusty/main javascript-common all 11 [6066 B]\r\nGet:54 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libapache2-mod-php5 amd64 5.5.9+dfsg-1ubuntu4.13 [2209 k\r\nB]\r\nGet:55 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]\r\nGet:56 http://archive.ubuntu.com/ubuntu/ trusty/main libdbd-mysql-perl amd64 4.025-1 [99.3 kB]\r\nGet:57 http://archive.ubuntu.com/ubuntu/ trusty/main libjs-jquery all 1.7.2+dfsg-2ubuntu1 [78.8 kB]\r\nGet:58 http://archive.ubuntu.com/ubuntu/ trusty/universe libjs-jquery-cookie all 8-2 [6502 B]\r\nGet:59 http://archive.ubuntu.com/ubuntu/ trusty/universe libjs-jquery-event-drag all 8-2 [11.2 kB]\r\nGet:60 http://archive.ubuntu.com/ubuntu/ trusty/main libjs-jquery-metadata all 8-2 [6856 B]\r\nGet:61 http://archive.ubuntu.com/ubuntu/ trusty/universe libjs-jquery-mousewheel all 8-2 [7076 B]\r\nGet:62 http://archive.ubuntu.com/ubuntu/ trusty/main libjs-jquery-tablesorter all 8-2 [64.0 kB]\r\nGet:63 http://archive.ubuntu.com/ubuntu/ trusty/universe libjs-jquery-ui all 1.10.1+dfsg-1 [458 kB]\r\nGet:64 http://archive.ubuntu.com/ubuntu/ trusty/main libjs-underscore all 1.4.4-2ubuntu1 [45.6 kB]\r\nGet:65 http://archive.ubuntu.com/ubuntu/ trusty/universe libmcrypt4 amd64 2.5.8-3.1ubuntu1 [61.9 kB]\r\nGet:66 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]\r\nGet:67 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.44-0ubuntu0.14.04.1 [702\r\n kB]\r\nGet:68 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.44-0ubuntu0.14.04.1 [1573 kB]\r\n\r\nGet:69 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client all 5.5.44-0ubuntu0.14.04.1 [12.1 kB]\r\nGet:70 http://archive.ubuntu.com/ubuntu/ trusty/universe php-gettext all 1.0.11-1 [17.2 kB]\r\nGet:71 http://archive.ubuntu.com/ubuntu/ trusty/universe php5-mcrypt amd64 5.4.6-0ubuntu5 [15.4 kB]\r\nGet:72 http://archive.ubuntu.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]\r\nGet:73 http://archive.ubuntu.com/ubuntu/ trusty/universe libjs-codemirror all 2.23-1 [210 kB]\r\nGet:74 http://archive.ubuntu.com/ubuntu/ trusty/universe phpmyadmin all 4:4.0.10-1 [4224 kB]\r\nFetched 21.6 MB in 35s (616 kB/s)\r\nExtracting templates from packages: 100%\r\nPreconfiguring packages ...\r\n\r\n*PURPURE SCREEN*\r\n\r\nstrconv.ParseInt: parsing \"17\\x1b[17\": invalid syntax\r\n\r\n"}}