泊坞窗:来自守护程序的错误响应:OCI运行时创建失败

时间:2019-09-09 13:41:01

标签: docker fedora selinux

docker:来自守护程序的错误响应:OCI运行时创建失败:container_linux.go:345:启动容器进程导致“ process_linux.go:430:容器初始化导致\”写入/ proc / self / attr / keycreate:权限被拒绝\ “”:未知。 等待容器的ERRO [0000]错误:Fedora 28中的上下文已取消

1 个答案:

答案 0 :(得分:-1)

     jQuery w/ input
<fieldset>
<form style="padding:15px;">
<label for=name>Enter Name:</label>
<input type="text" name="name" id="name">
</form>
</fieldset>

<div id="result"></div>

<script>
$(document).ready(function() {
      $("input").keypress(function(event) {
        event.preventDefault(); 
        var name = $("#name").val();
        var send = {
          name: name 
        };

        $.ajax({
          type: "POST",
          url: "process2.jsp",
          data: send,
          success: function(data) {
            $("#result").html(data);
          }
        })
      });
    });


</script>
   -----------------------

    JSP FILE:
   <%

    String name = request.getParameter("name");

    if(name.equals("James")){
out.println("Hello James");
     } else {
out.println("Hello User");
    }

    %>
  • 编辑/ etc / selinux / config
$ /usr/sbin/getenforce
enforcing
  • 重新启动服务器
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted