demo nsenter approach to execute command in another container
This commit is contained in:
19
fastapi-nsenter/static/index.html
Normal file
19
fastapi-nsenter/static/index.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>convert to pdf</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<label for="file">choose file<input type="file" name="file" id="file" accept=".pptx,.docx"></label>
|
||||
<label for="file">Output type
|
||||
<select name="output_format">
|
||||
<option value="pdf">PDF</option>
|
||||
</select>
|
||||
</label>
|
||||
<button type="submit">submit</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user