【docker報錯】starting container process caused "exec: \"-P8080:8080\": executable file not found in $PATH".
docker建立tomcat容器報錯:
[[email protected] ~]# docker run -di --name=tomcat tomcat:latest -P8080:8080
6ff68159042bf87347bc9570d4ab8151fe8ff3b5bc60333718f6a0f8fd95af5b
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"-P8080:8080\": executable file not found in $PATH".
解決: 將-p前移即可.
[[email protected] ~]# docker rm tomcat
tomcat
[[email protected] ~]# docker run -di --name=tomcat -p 8080:8080 tomcat:latest
c57b2e85c0ccc646aeacf2b8eef40314711ac87bbb727b0a889121424aa26f70
相關推薦
【docker報錯】starting container process caused "exec: \"-P8080:8080\": executable file not found in $PATH".
docker建立tomcat容器報錯: [[email protected] ~]# docker run -di --name=tomcat tomcat:latest -P8080:80806ff68159042bf87347bc9570d4ab8151fe8ff3b5bc60333718f6
starting container process caused "exec: \"nvidia-smi\": executable file not found in $PATH"
1、問題描述: 我在安裝好了nvidia-docker之後,按照網上的教程執行: #nvidia-docker run --rm nvidia/cuda nvidia-smi 結果報如下錯誤: container_linux.go:247: starting container proc
報錯:exec:"gcc" executable file not found in %PATH%
問題 在編譯以太坊原始碼時出現以下錯誤資訊: exec: "gcc": executable file not found
【MySQL報錯】ERROR 1558 (HY000): Column count of mysql.user is wrong. Expected 43, found 39.
found src 正常 err erro count blog 查找 版本 原文參考:http://wuzhuti.cn/2348.html 之前在centos6.4系統安裝的是自帶的mysql 5.1版本,後來升級到了5.6版本,執行以下命令報錯 在網上查找原因說說因
【JUnit 報錯】 method initializationerror not found:JUnit4單元測試報錯問題
inf 修改 分享圖片 cli ips onerror image initial bubuko 1、不僅方法要public,類也要是public權限 2、修改Java文件字符集 沒有完成,決定修改eclipse的默認字符集為gdk,需要使用時再修改為ut
【Vue報錯】Module build failed: Error: No parser and no file path given, couldn't infer a p arser.
3.0 OS could modules exp ports -- hot loader 在創建一個vue項目啟動時報錯,報錯的內容為: error in ./src/App.vue Module build failed: Error: No parser and no
【oracle報錯】ORA-29280: invalid directory path
資料庫版本:11.2.0.4;系統版本:Oracle Linux 6.4 場景: 使用v_filehandle:=utl_file.fopen('/data','output_test.txt','w');開啟文字時報錯如下: ERROR at line 1: ORA-29280: inva
【oracle報錯】ORA-28000
ORA-28000 資料庫版本:11.2.0.4;系統版本:Oracle Linux 6.4 現象: 建立使用者後,使用PL/SQL客戶端登入報錯 原因: 使用圖形介面建立的使用者,因使用的是類似建立使用者,然後是根據已鎖定的使用者類似建立,建立完後的使用者也是被鎖定的。
【oracle報錯】 impdp匯入資料報錯ORA-29283: invalid file operation
oracle impdp匯入資料報錯ORA-29283: invalid file operation 資料庫版本:11.2.0.4;系統版本:Oracle Linux 6.4 場景: 使用impdp匯入資料,dump檔名為bop_1112.dump,directory為:dataBac
【oracle報錯】ORA-0131 Insufficient privileges
ORA-0131 Insufficient privileges 場景: 資料庫版本:11.2.0.4單機;系統版本:Oracle Linux6.4 使用PL/SQL除錯儲存過程時報錯。 解決: 一開始,業務反應某使用者沒有執行儲存過程的許可權,但感覺不對啊,都有resource許可
【Pycharm報錯】No module named MYSQLdb錯誤
python3.7安裝MySQLdb(win10) 注意安裝的版本都要匹配 1.執行cmd,輸入python,檢視python版本以及安裝對應的mysqldb版本 2.從上面可以看出需要安裝cp37-win64(這裡並不是指的你win系統的32或
【tomcat報錯】linux啟動tomcat報錯Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
error: Linux下啟動和關閉tomcat報錯,如下圖所示: 原因: 因為啟動tomcat會呼叫tomcat安裝檔案中的startup.bat,而它呼叫了catalina.bat則呼叫了
【Tomcat報錯】錯誤:找不到或無法載入主類 org.apache.catalina.startup.Bootstrap
報錯: 錯誤:找不到或無法載入主類 org.apache.catalina.startup.Bootstraporg.apache.catalina.startup.Bootstrap 描述: 這是由於找不到tomcatan安裝路徑bin 目錄下的bootst
【oracle報錯】使用資料泵少了一個空格導致的無效引數
oracle使用資料泵少了一個空格導致的無效引數 Data Mining and Real Application Testing options UDE-00014: invalid value f
解決 docker 報錯: Error starting daemon: error initializing graphdriver: backing file system is unsupported for this graph driver
CentOS 7.5 x64下 sudo yum install docker -y systemctl enable docker systemctl start docker 發現啟動失敗 journalctl -xe 查詢獲得報錯 Jan 11 22:4
【LoadRunner報錯】 -LR無法直接開啟Chrome瀏覽器
解決方案:LR設定代理,利用Chrome錄製指令碼步驟:1)錄製開始前,對Recoding Options中的Port Mapping配置如下,新建New EntryCapture LevelAppli
【numpy報錯】
已安裝numpy 1.14.2,又conda 命令安裝numpy,自動檢測最新版本安裝了numpy1.13.1執行import numpy as np 報錯,如下:--------------------------------------------------------
【VUE 報錯】Mixed spaces and tabs
初步接觸VUE,在開發過程中,會經常發現一啟動專案就會報一堆空格使用錯誤,雖然不影響執行,但給人編碼體驗賊差。怎麼解決呢,很簡單。 這是因為你使用 ESLint,用來規範程式碼風格的。你的 Webpack 配置中大概是使用了 eslint-loader。主要是想程式碼更
【IDEA報錯】Fatal error initializing 'com.intellij.xdebugger.XDebuggerManager
某次工程正在執行時,電腦藍屏關機,重啟後啟動IDEA開啟工程時,報錯: Fatal error initializing 'com.intellij.xdebugger.XDebuggerMa
【LoadRunner報錯】 -Action.c(*): Error -27792: Failed to transmit data to network: [10054] Connection re
Action.c(*): Error -27792: Failed to transmit data to network: [10054] Connection reset by peer解決方法:在